API reference
POSTRequires Bearer token
Cancel an envelope
/api/v4/envelopes/{batch_id}/cancel
409 ENVELOPE_ALREADY_TERMINAL if already completed, refused, or cancelled.
Path parameters
| Field | Type | Description |
|---|---|---|
batch_id Required | string | Path parameter batch_id. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
reason | string | Optional cancellation reason. e.g. "Sent to the wrong party" |
Responses
| Status | Meaning |
|---|---|
| 200 | Cancelled |
| 401 | Missing or invalid Bearer token. |