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
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status Created
{
"added_at": "<dateTime>",
"ids": "<string>",
"member_ids": "<string>"
} |
ENDPOINTS