API reference / Documents
POST
Cancel a document
POST /v1/documents/{document_id}/cancelCancel a document that is not finished
Parameters
document_idstringpathrequiredIdempotency-KeystringheaderoptionalIdempotent-Replayed: true. Same key + different body returns 422 idempotency_conflict. Same key while the first request is still running returns 409 idempotency_in_progress. (draft-ietf-httpapi-idempotency-key-header-08)