Post
/api/v1/channels.removeModerator
Remove the moderator
role from a user in a channel.
Permission required: set-moderator
.
Changelog
Version | Description |
---|---|
0.49.4 | Added |
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Body parameters
object
roomId
string Required
The channel's id
userId
string Required
The user's id
Responses
200
400
401
OK
object
success
boolean