Skip to Content
Booking

Decline website booking

Toegang

Lid van de organisatie met dit recht:

  • reservations:write

Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.

POST
/orgs/{organizationId}/booking/requests/{id}/decline

Cancels a requested or unpaid stay and tells the guest, with an optional message.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
message?string
Lengthlength <= 1000

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//booking/requests/string/decline' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
null