DELETE
/
api
/
departments
/
{departmentId}
/
rooms
/
{roomId}
curl --request DELETE \
  --url http://localhost/api/departments/{departmentId}/rooms/{roomId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

departmentId
string
required
roomId
string
required

Response

200
*/*
Room successfully deleted
success
boolean