Skip to main content
DELETE

Cancel a booking

Scope:crm:booking-services.write
https://api.holded.com/api/v2/bookings/{bookingId}

Cancels an existing booking. This operation cannot be undone.

Parameters

Path parameters

bookingIdstringrequired

Booking ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.holded.com/api/v2/bookings/{bookingId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())

Responses

Success responses

204Booking cancelled

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Booking not foundapplication/json
429Rate limit exceededapplication/json