Skip to content

Delete a document

Request

Soft-delete a document by setting its deletion timestamp. The document will no longer appear in list results. If it satisfied a requirement it is also detached from it, and any requirement period left with no remaining file returns to AWAITING_UPLOAD.

Security
ApiKeyAuth
Path
idstringrequired
curl -i -X DELETE \
  'https://api.pioneerft.com/api/public/v1/documents/{id}' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Document deleted successfully

Bodyapplication/json
messagestring
Example:"Document deleted"
Response
{ "message": "Document deleted" }