publish_flow
Publishes a flow draft as the new live definition after validation and keyword-conflict checks; activates it if a free live-flow slot exists.
Instructions
Publish a flow draft. Makes the draft the live definition (new version). Runs the full validation and keyword-conflict check (422 invalid_definition). Publishing a flow that was never live also activates it when the plan has a free live-flow slot (403 plan_limit_reached otherwise). Fires flow.published, and flow.activated when it went live. Send {} as the body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id. |