DevZero Logo
DevZero

Upsert status for a workspace deploy step

POST
/workspaces/runtime/deploy/{step_id}
/workspaces/runtime/deploy/{step_id}

Request Body

application/jsonRequired

workspace deploy step body

namestring

human readable name for the deploy step

status
Required
string

status of deploy step (note 'started' is a synonym for 'running')

Value in: "pending" | "running" | "started" | "success" | "failure"

Path Parameters

step_id
Required
string

ID of step

Header Parameters

token
Required
string

Authorization token

curl -X POST "https://api.devzero.io/backend/v0/workspaces/runtime/deploy/string" \
  -H "token: string" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "status": "pending"
  }'

workspace deploy step

{
  "logsrv_id": "string",
  "name": "string",
  "status": "pending",
  "step_id": "string"
}