---
title: "Archive Rooms (Realtime)"
slug: "archive-rooms-realtime"
updated: 2026-05-14T21:44:47Z
published: 2026-05-14T21:44:47Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Archive Rooms (Realtime)

![](https://cdn.us.document360.io/27ca1fd4-36d7-4cde-b4eb-97fc1652954c/Images/Documentation/Deprecated.svg)

When a room is archived, it is designated as read-only and removed from the channel list on the left sidebar.

| Method | Requires Auth | Permission |
| --- | --- | --- |
| `archiveRoom` | Yes | `archive-room` |

## Payload parameters

| Argument | Example | Required | Description |
| --- | --- | --- | --- |
| `roomId` | `64a1f373376181965ab77f54` | Required | The room ID. |

## Example call

```json
{
    "msg": "method",
    "method": "archiveRoom",
    "id": "3",
    "params": [
        "64a1f373376181965ab77f54"
    ]
}
```

## Example response

```json
{
    "msg": "result",
    "id": "3"
}
```
