Skip to content
FirmEasy

Cancel Ingestion

POST
https://api.firmeasy.legal/api/v1/documents/envelopes/{{ingest_token}}/cancel

Cancels and marks as cancelled a batch ingestion process that is still in progress (ingesting or assembling). If the envelope has already reached a terminal state, the operation will be rejected.


Authorization
string
Bearer authentication token.
Limits:Required (Bearer <token>)

ingest_token
string (UUID)
The identifier token of the ingestion batch to cancel.
Limits:Required

The request was processed successfully and the batch status has changed to cancelled immediately. It returns no response body (empty body).


Código Estado Descripción
401 Unauthorized The authentication token is invalid, expired, or was not sent.
404 Not Found The provided ingest_token does not exist or does not belong to the active organization.
409 Conflict The ingestion batch is already in a terminal state (ready, failed, or cancelled) and cannot be aborted.