Batch demote channel administrators
DELETE {{baseUrl}}/chat/users/:userId/channels/:channelId/admins?admin_ids=<string>&user_ids=<string>
Demotes administrators in a channel in batch. For user-level apps, pass
the
me
value
instead of the
userId
parameter.
Scopes:
chat_channel:write:admin
Rate Limit Label
:
Medium
Note: For an account-level OAuth app , this API can only be used on behalf of a user who is assigned with a role that has the Edit permission for Chat Channels .
Request Params
| Key | Datatype | Required | Description |
| admin_ids
| string | | (Required) The member IDs with channel admin privileges. Use commas (,) to separate a maximum of 10 IDs in a call. |
| user_ids
| string | | (Required) The member IDs or user IDs with channel admin privileges. Use commas (,) to separate a maximum of 10 IDs in a call. |
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: ``