Documents

Delete Document

Permanently delete a document and everything stored with it: its XML, its attachments and its original payload.

DELETE
/api/v1/documents/{documentId}

Permanently delete a document and everything stored with it: its XML, its attachments and its original payload. This cannot be undone, and the document disappears from the list, inbox and export endpoints. Deleting a document does not withdraw anything from the Peppol network; a document that was transmitted has already reached its recipient. Deleting an ID that does not exist, or that was deleted before, also succeeds, so a retried delete is safe.

Authorization

AuthorizationBasic <token>

Basic API key authentication. Create a new API key and secret in the Recommand dashboard.

In: header

Path Parameters

documentId*string

The ID of the document to delete

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/v1/documents/string"
{  "success": true}