Dirigible API reference
Endpoints · Documents
Delete a document
Docs / Documents / Delete a document
DELETE
https://node.dirigible.app/v1/documents/{id}Deletes a document and its stored file.
Authentication
Bearer API key required.
Method
DELETE · JSON
Sync
Changes appear live in the app.
Parameters
idstringrequiredDocument id.
Status codes
200Success. Returns the resource (or an array); a delete returns { "ok": true }.
401Missing or invalid API key.
404The resource wasn't found (or isn't yours).
400Malformed request body.
curl -X DELETE "https://node.dirigible.app/v1/documents/<id>" \
-H "Authorization: Bearer dg_your_key"curlruns against the live API
Sample response
{ "ok": true }json