Delete Specific Compensatory Request
To delete a specific compensatory-off request
Request URL:
https://people.zoho.com/people/api/v2/leavetracker/compensatory/records/{recordId}
Header
Authorization:Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf
Method
DELETE
Scope
ZOHOPEOPLE.leave.DELETE
Threshold Limit: 300 requests | Lock period: 5 minutes
Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.
Sample Request:
Copiedhttps://people.zoho.com/api/v2/leavetracker/compensatory/records/100002000000451167
Sample Success Response
Copied{
"message": "Deleted successfully",
"status": "success"
}
Sample Error Response:
Copied{
"error": {
"code": 7037,
"message": "Permission denied to delete record(s)"
},
"uri": "/leavetracker/compensatory/records/100002000000451167"
}