Pin a version, set the mode or the cron switch

Pins a workflow version in the environment and/or sets its run mode or cron switch; at least one of version, mode and cron_enabled is required. Pinning a version is an activation: it clears the pin's pause. The caller needs the workflow_graph update ability on the workflow's company. A version the workflow does not have is a 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The workflow id (UUID).

uuid
required

The workflow environment id (UUID).

Body Params
integer
1 to 2147483647
string
enum
Allowed:
boolean
Responses

400

The request was malformed or contained invalid parameters.

401

You are not authorized

403

You are forbidden from accessing this resource

404

The item you were looking for does not exist

409

The pin would be simulated or shadow with a version that has a node type that does not declare its effects (workflow-executor CONTRACT.md section 5b), so its effects could not be recorded instead of performed.

500

An unexpected error was encountered.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!