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 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 Body

{"admins"=>[{"email"=>"<email>"}, {"email"=>"<email>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;added_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;ids&quot;:&quot;\u003cstring\u003e&quot;,&quot;member_ids&quot;:&quot;\u003cstring\u003e&quot;}