---
description: The objective to establish the procedure for removing the moderator role.
---

# Remove Moderator Role

If the participant wants to give up the Moderator privilege, he can do it using this API request.

API used is VidyoConnectorRemoveModeratorRole and the triggered callback is VidyoConnectorOnRemoveModeratorRoleResult

public void OnRemoveModeratorRoleResult(Connector.ConnectorModerationResult result)

{

&#x20;    if (result == ConnectorModerationResult.ConnectormoderationresultOK)

&#x20;     {

&#x20;               IsRoleNone = true;

&#x20;               IsRoleModerator = false;

&#x20;      }

&#x20;     else

&#x20;       {

&#x20;              IsRoleModerator = true;

&#x20;               IsRoleNone = false;

&#x20;         }

}
