/booking/:id - DeleteBooking
DELETE {{host}}/booking/1
A request that allows you to delete a booking's details within the booking API. To delete other bookings, simply update the booking ID from '1' to a different booking ID number.
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 | ||
Referer | null |