POST
https://api.craftkit.dev/v1/signatures/:id/cancelcancelled. Rejected with 409
when the request is already in a terminal state (completed, declined, expired, cancelled, or
failed).
Authorization
Bearer ck_live_… — a project API key.Path parameters
The signature request id (UUID).
Body
The body is optional — an empty body is accepted.Cancellation reason (≤500 chars). Stored on the request as
errorMessage.Response
The updated signature request (same shape as the create response), now withstatus: "cancelled".
cancelled after a successful cancel.The supplied
reason, if any.Errors
| Status | code | Meaning |
|---|---|---|
| 400 | invalid_json | Body is not valid JSON. |
| 400 | invalid_request | Body failed schema validation (issues included). |
| 401 | unauthorized | Missing/invalid/revoked key. |
| 404 | not_found | No such signature request in this key’s project. |
| 409 | conflict | Request is already terminal and cannot be cancelled. |
| 502 | signature_provider_error | The signature service failed to cancel the request. |
cURL
200