Archive Rooms

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

NameRequires AuthPermissionSetting

archiveRoom

Yes

archive-room

Payload Parameters

ArgumentExampleRequiredDescription

roomId

64a1f373376181965ab77f54

Required

The room id

Example Call

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

Example Response

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

Last updated

Rocket.Chat versions receive support for six months after release.