---
description: The objective is to remove room pin to the created room by moderator.
---

# Remove RoomPIN API

Once room PIN is removed, all other participants are not required to enter room PIN to join Conference Room. API used to implement Remove RoomPIN is **VidyoConnectorRemoveRoomPIN** .

**Note** : Only room Owner is able to set/remove room PIN.

Interface used is IRemoveRoomPIN and the callback triggered VidyoConnectorOnRemoveRoomPINResult

public void OnRemoveRoomPINResult(Connector.ConnectorModerationResult result)

{

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

&#x20;      {

&#x20;               hasRoomPin = false;

&#x20;       }

&#x20;           ModerationWindow.SetIsRoomPIN(hasRoomPin);      &#x20;

&#x20; }

public void SetIsRoomPIN(bool status)

&#x20;{

&#x20;           if (status)

&#x20;               PasswordBoxRoomPIN.Password = "\*\*\*\*\*\*";

&#x20;           else

&#x20;               PasswordBoxRoomPIN.Password = "";

&#x20;  }
