Skip to main content
PUT
Update a definition

Authorizations

X-API-Key
string
header
required

Path Parameters

definition_id
string
required

Body

application/json
name
string
required
version
integer
default:1
status
enum<string>
default:draft
Available options:
active,
draft,
archived
inputs
DefinitionInput · object[]
variables
DefinitionVariable · object[]
steps
Step · object[]
webhooks
any[]
variable_bindings
Variable Bindings · object

Response

Successful Response

id
string
required
org_id
string
required
name
string
required
version
integer
required
status
string
required
inputs
DefinitionInput · object[]
required
variables
DefinitionVariable · object[]
required
steps
Step · object[]
required
webhooks
any[]
required
variable_bindings
Variable Bindings · object
template_ref
TemplateRef · object | null

Present when this flow was created for your account from a managed template, naming that template, the version it was created at and a digest of the content it started with. null for a flow you built yourself. Read-only — it is stamped when the flow is created and is not accepted when you create or update one.