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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400The request was malformed or contained invalid parameters.
401You are not authorized
403You are forbidden from accessing this resource
404The item you were looking for does not exist
409The 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.
500An unexpected error was encountered.