Number of APIs: 3
1. List channel administrators
GET {{baseUrl}}/chat/users/:userId/channels/:channelId/admins?page_size=10&next_page_token=<string>
Lists all administrators of a channel. For user-level apps, pass the Scopes: 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 View or Edit permission for Chat Channels.me
value instead of the userId
parameter.chat_channel:read:admin
Rate Limit Label: Medium
2. Promote channel members to administrators
POST {{baseUrl}}/chat/users/:userId/channels/:channelId/admins
Promotes members to administrator role in a channel. For user-level apps, pass the Scopes: 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.me
value instead of the userId
parameter.chat_channel:write:admin
Rate Limit Label: Medium
3. 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 Scopes: 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.me
value instead of the userId
parameter.chat_channel:write:admin
Rate Limit Label: Medium
ENDPOINTS