DELETE
Cancel a booking
Scope:
crm:booking-services.writehttps://api.holded.com/api/v2/bookings/{bookingId}Cancels an existing booking. This operation cannot be undone.
Parameters
Path parameters
bookingId
stringrequiredBooking 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 cancelledError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Booking not foundapplication/json429Rate limit exceededapplication/json