Cancel a background job
Beta. This endpoint is in beta. Behavior, parameters, and response shapes may change without notice.
Requests cancellation of a background job. Idempotent — cancelling an already-terminal job returns 204 without effect on the worker. The request body is optional; if provided, the reason is recorded alongside the cancellation event.
Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Authorization: Bearer <your-api-key>Get your API key from the Reply dashboard: Settings → API Key.
Path Parameters
Background job identifier (must be a non-empty GUID)
Body
Optional payload for cancelling a background job. The body itself is optional — POST with an empty body is valid.
Optional human-readable reason for the cancellation, recorded with the job
Response
Cancellation requested successfully (or already cancelled — idempotent)