Cancel a pending or in-progress async job.
Only jobs with status ‘pending’ or ‘processing’ can be cancelled. Returns the updated job details with status ‘cancelled’.
cURL
curl --request POST \ --url https://api.superdocs.app/v1/jobs/{job_id}/cancel \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response