Links

Delete Room

Delete a room from the workspace.
HTTP Method
URL
Requires Auth
POST
/api/v1/rooms.delete
yes

Body Parameters

Key
Example Value
Description
roomId*
ByehQjC44FwMeiLbX
The room ID.

Example Call

curl -L -X POST 'http://localhost:3000/api/v1/rooms.delete' \
-H 'x-auth-token: Bln_vcvvbA9a9j2_GV0QdV52d-xoyLkNoOyPcD4cars' \
-H 'x-user-id: 5fRTXMt7DMJbpPJfh' \
-H 'Content-Type: application/json' \
-d '{
"roomId":"64adb09baa5ad4273bfc0cbf"
}'

Example Response

{
"success": true
}

Change Log

Version
Description
5.4.0
Added
Last modified 2mo ago
Rocket.Chat versions receive support for six months after release.