Once a transaction is cancelled
, expired
, completed
or archived
you can revoke documents download. In this case, concerned documents can no longer be downloaded.
There are two ways to revoke download for a document:
- via the
/transactions
resource (immediately after the transaction iscancelled
,expired
,completed
). - via the
/archives
resource (at any time, once the transaction isarchived
).
Note that you must revoke documents download individually.
Note that when a document download is revoked from a completed
transaction, it will also be revoked from its archive
, and vice versa.
Via the /transactions resource
Send your request to POST /v1/transactions/{transaction_id}/documents/{document_id}/revoke-download
.
curl
https://api.universign.com/v1/transactions/tx_DwYGle91EQZA/documents/doc_6Amd/revoke-download
Via the /archives resource
Send your request to /v1/archives/{transaction_id}/documents/{document_id}/revoke-download
.
curl
https://api.universign.com/v1/archives/tx_DwYGle91EQZA/documents/doc_6Amd/revoke-download