# setModeratorRole
Description: management of granting moderator
rights to any of the participants in the current group conference.
Request example:
{
"method": "setModeratorRole",
"requestId" : "1",
"peerId": "user1@some.server",
"moderator": false
}
Response example:
{
"method": "setModeratorRole",
"requestId" : "1",
"result": true
}
Parameter description:
peerId
— TrueConf ID unique user identifiermoderator
— Flag showing whether a conference participant will be a moderator. It can be as follows:true
— the user will receive moderator rightsfalse
— the user will not receive moderator rights
requestId
- a unique request identifier. You can learn more about it here.
See also: