For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Room Type API

Delete a room type

delete
/room_types/{id}

Delete a room type by its identifier. A room type linked to a channel is refused with 422 Unprocessable Entity unless force=true is sent.

Authorizations
user-api-keystringRequired

API key for programmatic access, sent in the user-api-key header.

Path parameters
idstring · uuidRequiredExample: 716305c4-561a-4561-a187-7f5b8aeb5920
Query parameters
forcebooleanOptional

Un-map the room type from its channels before removing it. Without it the request fails when channel mappings would be affected.

Responses
200

The request has succeeded.

application/json

Success response carrying only a meta message (no resource body).

delete/room_types/{id}
DELETE /api/v1/room_types/{id} HTTP/1.1
Host: app.channex.io
user-api-key: YOUR_API_KEY
Accept: */*
{
  "meta": {
    "message": "Success"
  }
}

Last updated