Skip to main content
PATCH
Edit one step

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

If-Match
string

The step's config_hash from GET /engines/{engineSlug}/steps. Missing answers 428; stale answers 412 draft_changed.

Path Parameters

engineSlug
string
required

The engine's slug, unique in the caller's org.

step
string
required

A step id from GET /engines/{engineSlug}/steps; main on an Engine without steps.

Body

application/json
config
any
required

The step's whole config, checked against config_schema from GET /engines/{engineSlug}/steps.

label
string

A new display label, 1 to 60 characters. Pipeline steps only.

Response

OK

config_hash
string
required

The draft hash after the write.

engine_slug
string
required
step
object
required