DELETE - Delete a Project Under Group
Purpose
This API is used to delete a specific project that has been added under a specific group.
OAuth Scope
Use the scope
ZohoMail.tasks.ALL (or) ZohoMail.tasks.DELETE
to generate the Authtoken.
ALL - Full access to tasks.
DELETE - Delete a project under tasks.
Request URL
Method: POST
https://mail.zoho.com/api/tasks/groups/{zgid}/projects/{projectId}
Path Parameters
- zgid* long
- Specifies the unique identifier used for groups in an organization.
- This parameter can be retrieved from the Get all groups API.
- projectId* long
- Specifies the unique identifier assigned to each project created for group tasks.
- This parameter can be retrieved from the Get all projects in a group API.
* - Mandatory parameter
Response Codes
Refer here for the response codes and their meaning.
Sample Request
Copiedcurl "https://mail.zoho.com/api/tasks/groups/5*****8048/projects/17461*****054003" \
-X DELETE \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken *********