cURL
curl --request POST \ --url https://api.example.com/api/jobs/{job_id}/cancel \ --header 'Authorization: Bearer <token>'
{ "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "<string>" }
Cancel a job (best effort; only queued/running).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Response for canceling a job.
Was this page helpful?