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

KeyDatatypeRequiredDescription
admin_idsstring(Required) The member IDs with channel admin privileges. Use commas (,) to separate a maximum of 10 IDs in a call.
user_idsstring(Required) The member IDs or user IDs with channel admin privileges. Use commas (,) to separate a maximum of 10 IDs in a call.