Delete Resource

Purpose

​To delete a resource.

Request URL

https://www.zohoapis.com/bookings/v1/json/deleteresource

Headers

Parameter NameDescription
AuthorizationZoho-oauthtoken {{accesstoken}}

Note: The access token can be generated from the developer console.

Parameters

Parameters to be passed in the request body as form-data along with the request URL are,

Parameter NameDescription
resourceMap*Map containing resource details. Refer to the parameters below.
id*Unique ID of the resource.
ignorePastAppointmentsIndicates whether past appointments should be considered while updating the resource.
Possible values: true, false.
If ignorePastAppointments= true, resource details in past appointments will be updated.
If ignorePastAppointments= false, resource details in past appointments will not be updated.
If not specified, this parameter defaults to false.
Note: Fields marked  * are mandatory.

Scope

zohobookings.data.CREATE 

Request Method

POST

Response Type

JSON

​​​

Points to consider

  • Delete limit: Only one resource can be deleted per request.
  • Resources with assigned services or upcoming appointments cannot be deleted.

API Limits

Zoho Bookings Plan/EditionNumber of API calls/day
Free250/per user
Basic1000/per user
Premium3000/per user
Zoho One3000/per user
Note: The API limits are excluding the authorization requests. API counts are calculated between 00:00 and 23:59 hours in the respective time zones.

Related Links

Sample Request

Copied{
  "id": "150220000000558268"
}

{
  "id": "150220000000558268"
},
ignorePastAppointments = true

Sample Response

Copied{
  "response": {
    "returnvalue": {
      "message": "Resource deleted.",
      "status": "success"
    },
    "status": "success"
  }
}