Delete Files API
This API is used to delete files in modules of courses or batches in LMS
Request URL: (Self Paced Course)
https://people.zoho.com/api/v1/courses/<courseId>/modules/<moduleId>/files/<fileId>
Request URL: (Blended Learning Course)
https://people.zoho.com/api/v1/courses/<courseId>/batches/<batchId>/modules/<moduleId>/files/<fileId>
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.training.ALL
OR
ZOHOPEOPLE.training.DELETE
Possible Operation Types:
ALL - Complete access to data
DELETE - Only to create data
Method:
DELETE
Request
Copiedhttps://people.zoho.com/api/v1/courses/219225000000642002/modules/219225000000648001/files/219225000000648129
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied{
"code": 200,
"fileId": "219225000000648129",
"status": "success"
}