Skip to main content
PUT
Deploy a version
A workflow that has never had a version deployed keeps running its draft, so existing workflows are unaffected until you deploy a version. To roll back, deploy an older version_id from List Versions.

Authorizations

x-api-key
string
header
required

Lyzr API key. Studio session keys (agk_, ags_) and durable sk- keys are accepted. Required on every endpoint except GET /node-types and a webhook-triggered execute that carries X-Webhook-Secret.

Path Parameters

id
string
required

Workflow ID

Body

application/json
version_id
string
required

The version to deploy. It can be the newest version or an older one.

Response

OK. Returns the version that is now live.

version_id
string
number
integer
Example:

3

message
string
Example:

"Add approval step"

created_by
string
created_at
string