v1

latestOpenAPI 3.1.1Proprietary2026-07-26184406877.9 KB
Documents

Delete a Document from a Custom Folder

Use this endpoint to delete a specific document from a custom 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}/folders/{folderId}/{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.

folderIdstring required

The ID of the custom folder the document is stored in. You can obtain the custom folder ID 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.