Skip to main content

Delete a document

Trash or permanently deletes a document.

Parameters

force
boolean
Whether to move the document to trash, or permanently delete it.

Returns

Returns an empty response.

delete
/api/documents/{id}
curl -X DELETE https://{workspace}.documocu.com/api/documents/{id} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {API_KEY}'
Response
null