POST
/
bookings
/
{booking_sid}
/
cancel
Cancel a booking
curl --request POST \
  --url https://{your-workspace}.neetocal.com/api/external/v1/bookings/{booking_sid}/cancel \
  --header 'X-Api-Key: <x-api-key>'
{
  "message": "<string>"
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

booking_sid
string
required

Id of the booking that you want to cancel.

Example:

"hda6gxy"

Query Parameters

cancel_reason
string

Reason for cancelling the booking.

Response

200 - application/json

OK - Booking cancel successful

message
string