Remove Channel Moderator
Removes the role of moderator from a user in the current channel.
It requires the set-moderator
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 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-moderator
permission.User is not a moderator: This occurs when the user is not a moderator in the channel.
Change Log
Version | Description |
---|---|
0.49.4 | Added |
Last updated