Update a Play
PATCH/plays/:playId
Owner-only. Two update modes: a wholesale replace via config (plus optional externalSystemWorkflowId), validated as one unit like a create; or a merge via top-level trigger / params (plus optional name and isActive), merged into the existing config and validated as one unit. Sending trigger or params together with config, externalSystemWorkflowId or externalSystemName returns 400 conflicting_update — pick one mode per request. Empty body returns 400 empty_update.
Request
Responses
- 200
- 400
- 404
OK
Validation error: empty_update (no fields to update), unsupported_external_system, or conflicting_update (mixing merge-mode and wholesale-mode fields).
Not found