POST - Add a New Project under a Group
Purpose
This API is used to add a new project under a group.
OAuth Scope
Use the scope
ZohoMail.tasks.ALL (or) ZohoMail.tasks.CREATE
to generate the Authtoken.
ALL - Full access to tasks.
CREATE - Add a new 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.
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" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken *****"\
-d '{
"projectName": "Blogging"
}'