- Overview
- Authentication
- Organization
- API Limits
- Forms API
- Cases API
- Timesheet API
- Onboarding API
- Announcements API
- Leave API
- Attendance API
- Compensation API
- GETFetch Components API
- GETFetch Components by ID API
- GETFetch Salary Components API
- GETFetch Packages API
- GETFetch Package by ID API
- GETFetch Package Components API
- GETFetch Currencies API
- GETFetch Currency by ID
- GETFetch Revisions API
- GETFetch Revisions by ERECNO API
- GETFetch Revision Letters by ERECNO API
- GETPreview Revision Letter by Revision ID API
- GETDownload Revision Letter by Revision ID API
- GETFetch My Compensation API
- GETFetch Reasons API
- GETFetch Settings API
- PUTCancel Revision API
- GETFetch Salary API
- GETFetch Single Employee Salary API
- POSTAdd Salary API
- PUTUpdate Salary API
- Compensation API Error Codes
- Record Count API
- LMS API
- Courses API
- Pre Learning Activities API
- Post Learning Activities API
- Course Action API
- Course Learner API
- Batch API
- Batch Scheduler API
- Batch Action API
- Module API
- File API
- Content API
- Link API
- Session API
- Offline Test API
- Online Test API
- Assignment API
- Settings API
- Trainer API
- Rooms API
- Categories API
- LMS Api Error Codes
- Files API
- View API
- Standalone Function
- Status Codes
- Error Codes API
- HTTP Request Methods
Edit File API
Request URL
https://people.zoho.com/people/api/files/editFile?fileName=<fileName>&filePath=<filePath>&fileDesc=<fileDesc>&fileType=<fileType>&confidential=<confidential>&roleId=<roleId>&catId=<categoryId>&employeeId=<employeeId>&isreportingTo=<isreportingTo>¬ifyToall=<notifyToall>&locationId=<locationId>&newCatName=<newCatName>&fileId=<fileId>
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Request Parameters;
fileName | Specify the filename |
filePath | Get the filepath from upload file and specify |
fileDesc | Specify the fileDescription |
fileType | Specify 1 to add Company File (or) Specify 0 to add Hr File |
confidential | Specify true to tag an employee confidential file |
roleId | Specify the roleId |
catId | Specify the filecategoryId |
employeeId | Specify the employeeId |
isreportingTo | Specify true to tag isreportingto option if reporting can see his/her subordinates files |
notifyToall | Specify true to the notifyToall option to sent an email |
locationId | Specify the locationId |
newCatName | Specify the newCategoryname |
fileId | Specify the fileId you want to edit |
Request
Copiedhttps://people.zoho.com/people/api/files/editFile?fileName=payslip.png&filePath=4319220/1478050780330/FileCabinet/payslip.png&fileDesc=fileapi&fileType=1(or)0&confidential=0&roleId=6000000043061&catId=6000000043062&employeeId=6000000043063&isreportingTo=0(or)1¬ifyToall=true(or)false&locationId=6000000043064&newCatName=editofferletter&fileId=6000000043065
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied<response uri="/api/files/editFile">
<status>0</status>
<message>
Data updated successfully
<result>
<message>Successfully Updated</message>
<FILEID>6000000043065</FILEID>
</result>
</response>
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.