Delete document

This endpoint will delete the document given the document uid.

Endpoint

DELETE https://app.pdfdodo.com/api/documents/{id}
Deletes a document, given the document Id
Header
X-API-Key
string
Your API key. You can find this from the "Settings" page
Query string
id
guid
The document Id you want to delete.

Response

Returns a HTTP response of 200 if successful.

Example curl request

Below is an example curl request. Replace YOUR_API_KEY with your actual API key. Also, replace {id} with the actual document ID.

(In this example I am using: 123e4567-e89b-12d3-a456-426614174000)

curl -X DELETE \
     -H "x-api-key: YOUR_API_KEY" \
     https://app.pdfdodo.com/api/documents/123e4567-e89b-12d3-a456-426614174000