Documents
DELETE /v1/documents/{documentId}
Move a document to the trash without permanently deleting it.
DELETE /v1/documents/{documentId} moves a document to the trash.
Authentication
Send an organization API key in x-api-key or
Authorization: Bearer <key>.
Path Parameters
| Name | Type | Description |
|---|---|---|
documentId | string (uuid) | UUID of the document to trash. |
Example
curl -X DELETE "https://api.blueputto.com/v1/documents/DOCUMENT_ID" \
-H "x-api-key: YOUR_API_KEY"Success Response
200 OK
{
"data": {}
}Error Responses
400 Bad Request401 Unauthorized404 Not Found423 Locked429 Too Many Requests