PUT - Edit a Project Under Group
Purpose
This API is used to edit the name of an existing project under a specific group.
OAuth Scope
Use the scope
ZohoMail.tasks.ALL (or) ZohoMail.tasks.UPDATE
to generate the Authtoken.
ALL - Full access to tasks.
UPDATE - Edit the details of existing project under a group.
Request URL
Method: POST
https://mail.zoho.com/api/tasks/groups/{zgid}/projects
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.
Request Body ( JSON Object)
- projectName* string
- Provide the new name which you want to give the project.
* - 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 PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken *****"\
-d '{
"projectName": "Announcements"
}'