Delete booking
Remove a booking from the Schedule.
DELETE https://cotlet.dev/api/v1/resource-guru/bookings/{booking_id}
write Confirm
Removes the whole booking, for every person on it. The booked people lose it from their Dashboard, and it cannot be undone through Cotlet. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| booking_id integer required | integer | Booking ID from list_bookings. |
Request
curl -X DELETE https://cotlet.dev/api/v1/resource-guru/bookings/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("resource-guru", "delete_booking", {"booking_id":1}) const result = await cotlet.call('resource-guru', 'delete_booking', {"booking_id":1}); cotlet call resource-guru delete_booking --data '{"booking_id":1}' Example response
{
"booking_id": 48213022,
"deleted": true
}