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

Parameters: delete_booking
NameTypeDescription
booking_id integer required integer Booking ID from list_bookings.

Request

cURL
curl -X DELETE https://cotlet.dev/api/v1/resource-guru/bookings/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("resource-guru", "delete_booking", {"booking_id":1})
Node.js
const result = await cotlet.call('resource-guru', 'delete_booking', {"booking_id":1});
CLI
cotlet call resource-guru delete_booking --data '{"booking_id":1}'

Example response

JSON

{
  "booking_id": 48213022,
  "deleted": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.