Links

Leaving Rooms

You can leave any room except for direct messages, and you cannot leave rooms where you are the last owner.
Name
Requires Auth
Permission
Setting
leaveRoom
Yes

Payload Parameters

Argument
Example
Required
Description
roomId
64a1f373376181965ab77f54
Required
The room id

Example Call

{
"msg": "method",
"method": "leaveRoom",
"id": "11",
"params": [
"64a1f540376181965ab77f5b"
]
}

Example Response

{
"msg": "result",
"id": "11"
}
Last modified 7mo ago
Rocket.Chat versions receive support for six months after release.