trckpd

PUT _/job/{id}

@See Jobs

Cancels a job associated with the job id. Returns a JSON object with status and job id. The job may not be canceled immediately. All the running tasks are allowed to finish gracefully, but any new tasks won’t be executed any further.

Path Parameters :

  • id (string) : Job id, UUID string.

Request Headers :

  • Accept: application/json
  • Content-Type: application/json

Query Parameters :

  • None

Response Headers :

  • Accept: application/json
  • Content-Type: application/json

Response JSON Object :

  • _id (string) : Job id, UUID string.

Status Codes :

  • 201 Created : Job is marked as canceled.
  • 404 Not Found : Invalid job id.
  • 500 Server Error : Server failed, try later.