DELETE - Delete booking

Purpose

This API is used to delete a booking.

Request URL

https://calendar.zoho.com/api/v1/bookings/<bookingId>

OAuth Scope

scope=ZohoCalendar.bookings.ALL

or

scope=ZohoCalendar.bookings.DELETE

 

ALL - Access all bookings

DELETE - Deletes a booking

Path Parameters

  • bookingIdlong, mandatory
    • It is a unique ID that's assigned to each booking. You can fetch the featureId using the Get all bookings API.

Request Parameters

  • ntfyint, optional
    • The ntfy parameter denotes the options to notify the attendees of the deletion of a booking.
    • The values correspond to the meaning given below:
      • 0 - Notify to None
      • 1 - Notify All except you
      • 2 - Notify All including you.​
  • recurrenceid_in_millislong, optional
    • The recurrence id can be fetched using the Get all bookings API.​
  • recurrence_deletetypestring, optional
    • The recurrence delete type parameter denotes the options to choose the occurrences that need to be deleted.
      • all - Delete all occurrences 
      • following - Delete future occurrences
      • only - Delete the particular occurrence that's chosen

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/bookings/1596693672887000001?ntfy=1

Sample Response

Copied{
   "booking_id":"1596693672887000001",
   "message":"Booking deleted",
   "status":true
}