Delete Room

Delete a room from the workspace.

HTTP MethodURLRequires Auth

POST

/api/v1/rooms.delete

Body Parameters

KeyExample ValueDescription

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

VersionDescription

5.4.0

Added

Last updated

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