/room/:id - DeleteRoom
DELETE {{host}}/room/1
A request that allows you to delete a specific Room. To delete a different room within the API, change the number 1 to a different room ID.
Authorisation
To use this request you must be authorised.
Authorisation is achieved by creating a Cookie
header with the value token=abc123
. To get a valid token, you send a request to POST /auth
using the Auth
API in restful-booker-platform.
Simply run the request once with the default credentials to have Qodex add a token
to the Cookies manager.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Accept-Language | string | ||
Accept-Encoding | string | ||
Origin | string |