Ethiack Docs
Ci cd jobs

Cancel Job

POST
/v1/jobs/{job_uuid}/cancel

Cancels a currently pending or running CI/CD job.

AuthorizationBasic <token>

Go to https://portal.ethiack.com/settings/api and generate your API keys. Simply use username=key, password=secret.

In: header

Path Parameters

job_uuid*string

UUID of the job

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/jobs/string/cancel"
{
  "code": 0,
  "description": "string",
  "id": null,
  "success": true
}
{
  "code": 0,
  "name": null,
  "description": "string",
  "success": false
}
{
  "code": 0,
  "name": null,
  "description": "string",
  "success": false
}
{
  "code": 0,
  "name": null,
  "description": "string",
  "success": false
}