Delete Projects API

This API is used to delete the projects.

Request URL:

https://people.zoho.com/people/api/timetracker/deleteproject?projectId=<projectId>

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
*projectId<projectId><Mandatory>Specify the projectIds (seperated by commas max count of 1000)

Error Codes & Messages:

Error CodeError Message
8000No <parameter_name> specified
8001Wrong value for <parameter_name>
9005Time Tracker Tab is disabled

Success Response Format

{
    "response": {
        "result": [
            {
                "projectId": <Project ID>
            }
        ],
        "message": "Project deleted successfully",
        "uri": "/api/timetracker/deleteproject",
        "status": 0
    }
}

Error Response Format

{
     "response": {
          "message": "Error in deleting project",
          "uri": "/api/timetracker/deleteproject",
          "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/deleteproject?projectId=617735000000229087

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Sample Response

Copied{
    "response": {
        "result": [
            {
                "projectId": "617735000000229087"
            }
        ],
        "message": "Project deleted successfully",
        "uri": "/api/timetracker/deleteproject",
        "status": 0
    }
}
Copied<?xml version="1.0" encoding="UTF-8"?>
<response uri="/api/timetracker/deleteproject">
<status>0</status>
<message>Project deleted successfully</message>
<result>
<projectId>617735000000229087</projectId>
</result>
</response>