DevZero Logo
DevZero

Cancel build

POST
/v2/teams/{team_id}/builds/{build_id}/cancel
/v2/teams/{team_id}/builds/{build_id}/cancel

Path Parameters

team_id
Required
string

ID of team

build_id
Required
string

ID of build

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

curl -X POST "https://api.devzero.io/backend/v0/v2/teams/string/builds/string/cancel" \
  -H "Authorization: string"

OK

{
  "build_step_checks": [
    {
      "command": "string",
      "completed_at": "string",
      "error": "string",
      "is_cached": true,
      "is_user_step": true,
      "last_updated": "string",
      "logsrv_id": "string",
      "name": "string",
      "start_time": "string",
      "status": "pending",
      "step_id": "string"
    }
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "id": "string",
  "modified_at": "2019-08-24T14:15:22Z",
  "recipe_id": "string",
  "recipe_name": "string",
  "recipe_version_id": "string",
  "status": "Not Started",
  "team_id": "string",
  "user_id": "string"
}