# Granular Scopes - Missing team\_chat:delete:batch\_members

**URL:** <https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546>\
**Category:** Chat\
**Tags:** api\
**Created:** [March 26, 2024, 1:34pm UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546 "2024-03-26T13:34:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BriefingSource](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/briefingsource/32/57967_2.png) [@BriefingSource](https://devforum.zoom.us/u/BriefingSource)\
**Post date:** [March 26, 2024, 1:34pm UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546/1 "2024-03-26T13:34:29Z")

</div>

Hi,

We’re currently using the [API](https://developers.zoom.us/docs/api/rest/reference/chat/methods/#operation/batchRemoveChannelMembers) to batch remove members from a channel. However, we keep encountering the following response:

> Invalid access token, does not contain scopes:[team\_chat:delete:batch\_members]

In the App Marketplace, we have noticed that the list from which granular scopes are selected and added to the app does not include this particular granular scope.

Could anyone provide guidance on where we could find this scope or offer an alternative approach?

Thank you.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [March 26, 2024, 9:02pm UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546/2 "2024-03-26T21:02:56Z")

</div>

Hi @BriefingSource ,

Is this a new application you’ve created?

---

<div class="post-metadata">

**Author:** ![BriefingSource](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/briefingsource/32/57967_2.png) [@BriefingSource](https://devforum.zoom.us/u/BriefingSource)\
**Post date:** [March 27, 2024, 7:03am UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546/3 "2024-03-27T07:03:55Z")

</div>

It is an Account level app and was created on Mar 25 12:17 PM UTC.  
We could not find team\_chat:delete:batch\_members or team\_chat:delete:batch\_members:admin scope listed. Yet the API response mentioned team\_chat:delete:batch\_members is missing.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [March 27, 2024, 4:16pm UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546/4 "2024-03-27T16:16:06Z")

</div>

Hi @BriefingSource ,

It appears some of the granular scopes were not pushed to GA release, despite them being published to documentation. I believe they should be rolled out to development and production shortly, but I’m waiting for confirmation on the chat ones specifically (ZOOM-696701).

---

<div class="post-metadata">

**Author:** ![echodeveloper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/echodeveloper/32/57852_2.png) [@echodeveloper](https://devforum.zoom.us/u/echodeveloper)\
**Post date:** [March 28, 2024, 3:45pm UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546/5 "2024-03-28T15:45:24Z")

</div>

Hi,

I’m getting similar issues trying to integrate our app with Team Chat API. Scopes declared in documentation simple doesn’t match or exist when trying to add them in our marketplace app. Even the scope inside the error message got from Zoom API also doesn’t exist. See error below:

```auto
{
    "code": 4711,
    "message": "Invalid access token, does not contain scopes:[team_chat:update:channel]."
}

```

 ![Screenshot 2024-03-28 at 11.26.35 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/c/0c377e2f0ca3ef91cb94d0590f6d990f93d952f6.jpeg)

The only option I see to continue with the API integration is trial and error on each request, but it is time consuming and very frustrating and there is no guarantee it will work as described in the documentation.

Am I forgetting something? My user has admin privileges and I selected all options in Team Chat scopes.

Thank you.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [March 29, 2024, 5:21am UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546/6 "2024-03-29T05:21:21Z")

</div>

Hi @echodeveloper , see my response above yours.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [April 4, 2024, 5:40pm UTC](https://devforum.zoom.us/t/granular-scopes-missing-team-chatbatch-members/106546/8 "2024-04-04T17:40:09Z")

</div>

@BriefingSource

> [@BriefingSource](#):
>
> It is an Account level app and was created on Mar 25 12:17 PM UTC.  
> We could not find team\_chat:delete:batch\_members or team\_chat:delete:batch\_members:admin scope listed. Yet the API response mentioned team\_chat:delete:batch\_members is missing.

Those scopes are not available for _account-level_ apps yet. See [this documentation.](https://developers.zoom.us/docs/integrations/oauth-scopes-granular/#team-chat)

@echodeveloper which type of app are you looking for those granular scopes? User level or account level? Can you confirm you see the [granular scope listed](https://developers.zoom.us/docs/integrations/oauth-scopes-granular/#team-chat) for the app type you’re working with?
