Hiding Rooms

When a room is hidden, it no longer appears in the channel list, and the "open" property is set to false in the user's subscription for that room.

NameRequires AuthPermissionSetting

hideRoom

Yes

Payload Parameters

ArgumentExampleRequiredDescription

roomId

64a1f373376181965ab77f54

Required

The room id

Example Call

{
    "msg": "method",
    "method": "hideRoom",
    "id": "14",
    "params": [
        "64a1f540376181965ab77f5b"
    ]
}

Example Response

{
    "msg": "result",
    "id": "14",
    "result": 1
}

Last updated

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