Delete Time Logs API

This API is used to delete unwanted time logs.

Request URL:

https://people.zoho.com/people/api/timetracker/deletetimelog?timeLogId=<timeLogId>​

Header:

Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Scope:

ZOHOPEOPLE.timetracker.ALL
OR
ZOHOPEOPLE.timetracker.DELETE 

Possible Operation Types:

ALL - Complete access to data
DELETE - Only to delete data

Request parameter:

ParametersValues AllowedDefault ValueDescription
*timeLogId<timeLogId><Mandatory>Specify the timeLogId (seperated by commas).
Note: Maximum number of IDs allowed is 1000.

Success Response Format

{
    "response": {
        "result": [
            {
                "timeLogId": < timelogid >
            }
        ],
        "message": "Timelog(s) deleted successfully",
        "uri": "/api/timetracker/deletetimelog",
        "status": 0
    }
}

Error Response Format

{
  "response": {
    "message": "Error occured",
    "uri": "/api/timetracker/deletetimelog",
    "errors": [
      {
        "code": < error_code >,
        "message": < error_message >
      }],
    "status": 1
 }
}

Threshold Limit: 20 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/people/api/timetracker/deletetimelog?timeLogId=177402000000814321

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Sample Response

Copied{
    "response": {
        "message": "Timelog(s) deleted successfully",
        "uri": "/api/timetracker/deletetimelog",
        "status": 0
    }
}
Copied<?xml version="1.0" encoding="UTF-8"?>
<response uri="/api/timetracker/deletetimelog">
   <status>0</status>
   <message>Timelog(s) deleted successfully</message>
</response>