# disconnectCollabRoom

Disconnects from the current collaboration room.

Canonical: https://grid.syidax.com/docs/methods/disconnectCollabRoom/

<a id="meaning"></a>

## What does this API do?

Disconnects from the current collaboration room.

API for Pro features: Real-time collaboration (existing Pro grade retained)

<a id="contract"></a>

## Exact input and result types

```typescript
disconnectCollabRoom(): Promise<void>
```

| Arguments | Required | Type |
| --- | --- | --- |

The return type is `Promise<void>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.disconnectCollabRoom(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="recipes"></a>

## Feature explanations and examples

- [Real-time collaboration](https://grid.syidax.com/docs/features/collaboration.md) — Collaboration shares edits, cursors, and presence among users in the same room. A room name alone does not automatically connect devices over the internet.
