Delete Resource
Table of Contents
Purpose
To delete a resource.
Request URL
https://www.zohoapis.com/bookings/v1/json/deleteresource
Headers
| Parameter Name | Description |
|---|---|
| Authorization | Zoho-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 Name | Description |
|---|---|
| resourceMap* | Map containing resource details. Refer to the parameters below. |
| id* | Unique ID of the resource. |
| ignorePastAppointments | Indicates 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/Edition | Number of API calls/day |
| Free | 250/per user |
| Basic | 1000/per user |
| Premium | 3000/per user |
| Zoho One | 3000/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"
}
}