Set Channel Leader
Gives the role of leader
to a user in the current channel.
It requires the set-leader
permission.
Body Parameters
Example Call
Example Response
Success
Error
Any of the following errors can occur on the endpoint.
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 already a leader: This occurs when the user is already a leader in the channel.
Change Log
Last updated