Add and Edit Folder API
This API is used to add or edit folders in the file modules of Zoho People
Request URL
https://people.zoho.com/api/files/addFolder
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
scope = ZOHOPEOPLE.files.ALL
Possible Operation Types:
ALL - Full access to data
Request Parameters:
newCatName | Enter folder name |
parentCatId | Enter parent folder id, if the new folder must be placed under an existing folder. Use this link to get the parent folder id details. Note: If the new folder has to be created as a parent folder, then this param need not to be passed |
catId | Enter the folder Id of the folder that needs to be renamed. Use this link to get the folder Id details. Note : This is not a mandatory param, this param needs to be passed only when folder has to be renamed. |
Request URL:
Copiedhttps://people.zoho.com/api/files/addFolder?newCatName=Privacy
Header:
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied{"response":{"result":{"CatID":"104101000005585009","ParentCatID":"null","CatName":"Privacy"},"message":"Data fetched successfully","uri":"/api/files/addFolder","status":0}}