Documents
Delete a Document from a Shared Folder
Use this endpoint to delete a specific document from a shared folder of a specific employee in Bob. <br><br>Make sure you set the right permissions to the Service User in order to remove the file. See more details in <a href="https://help.hibob.com/hc/en-us/articles/4409792096273-Create-a-document-folder#h_01HDNE82T44QA6632JB9ZGPZ6G">How to set up permissions for People's Docs </a>.
delete/docs/people/{id}/shared/{docId}
Path parameters
idstring required
The ID of the Employee. You can obtain the employee ID from the employee data.
docIdstring required
The ID of the document you want to delete. You can obtain the employee's documents using the <a href="https://apidocs.hibob.com/reference/get_docs-people-id">Download list of documents of an employee</a> endpoint.
Response
Delete success.