{% hint style="info" %}
This method is planned to be removed by 7.0.0. Use the /rooms.roomNameExists endpoint instead.
{% endhint %}
Check if a room name exists in a workspace.
| Name | Requires Auth |
|---|---|
roomNameExists |
Yes |
| Argument | Example | Required | Description |
|---|---|---|---|
roomName |
try |
Required | The room name to be searched for. |
{
"msg": "method",
"method": "roomNameExists",
"id": "2",
"params": [
"try"
]
}{
"msg": "result",
"id": "2",
"result": false
}{% hint style="info" %}
The result field returns a boolean to specify if the room exists in the workspace.
{% endhint %}
