Skip to main content
Rezolve Ai
API ReferenceJobsIdCancel

Cancel a job

POST
/jobs/{id}/cancel

Cooperatively cancel a pending or running job. Requires the enrichment:write scope.

Authorization

headerAuthorizationBearer <API key>

API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.

Path Parameters

id*string

Header Parameters

X-Tenant-Id?string

Partner accounts only. The tenant this call is for, as returned by POST /tenants. The call then runs in that tenant exactly as it would with a key pinned to it. Leave it out when you use a tenant's own key.

Formatuuid

Response Body

Cancelled

application/json
  1. response
data*unknown
Example Request
curl -X POST 'https://example.com/api/v1/jobs/string/cancel'
Example Response
{  "data": null}