Skip to main content

Deleted document

DELETE 

/documents/:id

Delete a Document.

This endpoint allows the authenticated user to delete a specific document associated with their organization. The document ID must be provided to identify which document to delete.

Authentication:​

  • Requires a valid OAuth access token with the following scopes:
    • document:write
    • Or one of the internal scopes: org:staff, org:admin, admin
    • Public scopes may also be included.

Parameters:​

  • id (required, path): The unique identifier (UUID) of the document to be deleted.

Response:​

  • 204 No Content: Indicates that the document has been successfully deleted.
  • 404 Not Found: If the document with the provided ID cannot be found.
  • 403 Forbidden: If the user does not have the necessary permissions to delete the document.

Request​

Responses​

Successful Response