Delete Folder
DELETE
https://app.firmeasy.legal/api/v1/folders/{{token}}
Delete Folder
Section titled “Delete Folder”This endpoint allows you to logically delete an existing folder using its token.
The deletion is a soft delete: the folder is marked as deleted but remains accessible for later recovery if necessary.
Headers
Section titled “Headers”To authorize access to the API, you must include the authentication token in the Authorization header using the Bearer scheme. Additionally, the Content-Type header must specify that the request body (if any) is sent in JSON format.
AuthorizationAccess token obtained during login, with the 'Bearer' prefix.
Limits:Required
Content-TypeFormat of sent data.
Limits:'application/json'
Request Body
Section titled “Request Body”No body required. Only send the DELETE request with the corresponding headers.
Successful Response
Section titled “Successful Response”- HTTP 204 - No Content
No content is returned in the response body.
Possible Errors
Section titled “Possible Errors”| Code | Description |
|---|---|
| 401 | Unauthorized (invalid or missing token). |
| 404 | Folder not found (invalid token). |
| 500 | Unexpected internal error. |
