Cancelling and deleting a document

Modified on Tue, 15 Sep at 11:53 AM

⚠️ Deletion is irreversible. A deleted document and its signatures cannot be restored in any way. Before deleting, download completed documents.

There are two endpoints for deletion — they differ in what remains afterward.

Unfinished document (draft, pending…)

curl -X DELETE -H "x-api-key: YOUR_API_KEY" \
  https://api.signi.com/api/v1/contract/DOCUMENT_ID

Cancels any sent signature requests and deletes the document completely — including the envelope and all metadata. Nothing remains of the document.

Closed document (completed)

A closed document cannot be deleted completely — the first endpoint will return the error "A closed contract cannot be deleted!". Use:

curl -X DELETE -H "x-api-key: YOUR_API_KEY" \
  https://api.signi.com/api/v2/contract/DOCUMENT_ID/delete

What is returned:

{ "status": "ok" }

Only the document's PDF is deleted. The envelope and audit trail are always preserved — so a trace remains that the legal act took place.

Where to go next

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article