Remove Channel Leader
Removes the role of leader
for a user in the current channel.
It requires the set-leader
permission.
HTTP Method | URL | Requires Auth |
---|---|---|
|
|
Body Parameters
Key | Example Value | Description |
---|---|---|
|
| The channel ID. |
|
| The user ID. |
Example Call
Example Response
Success
Error
Any of the following errors can occur:
Authorization: Requires an authentication token for the request to be made.
Not Allowed: This occurs when the authenticated user doesn't have the
set-leader
permission.User is not a leader: This occurs when the user is not a leader in the channel.
Change Log
Version | Description |
---|---|
0.75.0 | Added. |
Last updated