Skip to content

Delete room

DELETE
/rooms/{id}
curl --request DELETE \
--url https://api.occulights.com/api/v1/rooms/example \
--header 'Authorization: <Authorization>'

Deletes a room by ID

id
required
string format: uuid

Room ID

Room deleted

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

No Content

Media typeapplication/json

Bad Request

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Unauthorized

Media typeapplication/json
string

Example generated

example

Internal Server Error

Media typeapplication/json