Deactivate a workflow (stops firing)
POST/v1/workflows/:workflow_id/deactivate
Deactivate a workflow so it stops firing on its triggers.
The workflow, its definition and its execution history are all kept; only the trigger registration is removed, so you can reactivate it later without rebuilding anything. Executions already in flight are not cancelled.
Requires the workflows:author scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
Successful Response
Error
Error
Error
Error
Validation Error
Error