Skip to main content
PATCH
Lock or unlock a workflow
Send {"is_locked": true} to lock the workflow and {"is_locked": false} to unlock it. Workflow responses carry is_locked, and a normal save never changes it.

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
is_locked
boolean
required

Response

OK

message
string
Example:

"workflow lock updated"

is_locked
boolean
Example:

true