# 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:

  • peerIdTrueConf ID unique user identifier

  • moderator — Flag showing whether a conference participant will be a moderator. It can be as follows:

    • true — the user will receive moderator rights

    • false — the user will not receive moderator rights

  • requestId - a unique request identifier. You can learn more about it here.

See also: