# setModeratorRole

Description

Management of granting moderator rights to any of the participants in the current group conference

void setModeratorRole(string sPeerId, bool bModerator)

Parameters

Name Description
sPeerId TrueConf ID unique user identifier
bModerator 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

Response example

{
    "method": "setModeratorRole",
    "requestId" : "1",
    "result": true
}

Response Parameters

Name Description
requestId A unique request identifier
result A flag indicating whether the request was successful

See also

Last Updated: 09/12/2025