daesung
daesung

Reputation: 27

How to delete an envelope from the docusign api?

I am using an esignature api.

I want to delete the envelope using the esignature api.

The deletion was not found in EnvelopesApi.

How to delete an envelope from the docusign api?

Upvotes: 2

Views: 3193

Answers (1)

Ergin
Ergin

Reputation: 9356

You can use the Envelopes: update API to Void envelopes which will make it so no one can sign and invalidate the transaction.

PUT /v2/accounts/{accountId}/envelopes/{envelopeId}

{
    "status":"voided",
    "voidedReason":"voided for incorrect recipient"
}

By default DocuSign envelopes are stored in your account for 2 years I believe, however if you want you can Purge any given envelope which will remove it forever. To purge a document you can use the same API as above.

Upvotes: 2

Related Questions