Delete User's Unavailability
Purpose
To delete the record that contains the details of your unavailability.
Request Details
Request URL
{api-domain}/crm/{version}/settings/users_unavailability/{id}
Header
Authorization: Zoho-oauthtoken <access_token>
Scope
scope=ZohoCRM.settings.users_unavailability.ALL
(or)
scope=ZohoCRM.settings.users_unavailability.DELETE
(or)
scope=ZohoCRM.settings.users_unavailability.WRITE
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v4/settings/users_unavailability/554023000002227001"
-X DELETE
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Possible Errors
- INVALID_REQUEST_METHODHTTP 400
You have used an invalid HTTP method to access this API.
Resolution: Use the correct HTTP method. - INTERNAL_ERRORHTTP 500
There is an unexpected exception in the server.
Resolution: Contact support@zohocrm.com.
Sample Response
Copied{
"users_unavailability": [
{
"code": "SUCCESS",
"details": {
"id": "554023000002227001"
},
"message": "Unavailability deleted Successfully",
"status": "success"
}
]
}