Skip to content
FirmEasy

Delete Document

DELETE
https://app.firmeasy.legal/api/v1/documents/{document_token}

This endpoint allows you to delete an existing document from the system using its identifier token.

🔒 {document_token}: Unique document token obtained when creating or listing them.


To perform this operation, the session token must be sent in the headers.

Authorization
string
Access token obtained during login, with the 'Bearer' prefix.
Limits:Required
Content-Type
string
Specifies the content type of the HTTP request body.
Limits:'application/json'

This endpoint does not require a request body (payload). Resource identification is done exclusively through the URL parameter (document_token).


  • HTTP Code 204 - No Content

The server processes the request and deletes the document successfully. No content is returned in the response body.


Code Description
401 Not authorized (invalid or missing token).
404 Document not found (the provided token does not exist or was already deleted).
500 Unexpected internal server error.