By continuing to use this site you consent to the use of cookies in accordance with our Cookies Policy.

  1. Docs

Cancel Job

Using this api you can cancel job whether it’s in queue or running. Once accepted, it might actually take upto a couple of minute for job to be cancelled.

Request

POST /v1/client/job/{job_id}/cancel
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Response

Accepted

// Status: 202
{ "ok": true }

Invalid Response ⚠️

// Status: 4XX
{
  "ok": false,
  "message": "error info"
}

Request Samples

Curl

curl -i --request POST \
  --url https://api.daestro.com/v1/client/job/{job_id}/cancel \
  --header 'authorization: Bearer YOUR_API_KEY' \
  --header 'content-type: application/json'