DELETE - Delete feature
​Purpose
This API is used to delete a feature from resource booking. The feature ID in the Request URL given below can be fetched using the Get all features API.
Request URL
https://calendar.zoho.com/api/v1/features/<featureId>
OAuth Scope
scope=ZohoCalendar.features.ALL
or
scope=ZohoCalendar.features.DELETE
ALL - Access all features
DELETE - Deletes a feature
Path Parameters
- featureIdlong, mandatory
- It is a unique ID that's assigned to each feature that's available in resource booking. You can fetch the featureId using the Get all features API.
Sample Request
Copiedhttps://calendar.zoho.com/api/v1/features/1596623326304000001Sample Response: Feature Deleted.
Copied{
"message":"Feature deleted",
"status":true
}Error message: If the feature is used in any of the rooms and is deleted
Copied{
"error_message":"You cannot delete the feature as it is tagged with rooms",
"errorcode":"FEATURE_TAG_WITH_ROOMS",
"status":"failure"
}