v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBEnable/Disable Workflow
Enable or disable a workflow. Disabled workflows will not be executed when triggered. By default, workflows are enabled unless you explicitly disable them.
patch/v1/{workspace}/workflow/{slug}/enable/
Path parameters
workspacestring required
Workspace to which the workflow belongs (staging, production, etc.)
slugstring required
Unique identifier of the workflow. You can get it from workflow settings.
Request body
Example request
{
"is_enabled": true
}Response
Workflow status updated successfully
Example response
{
"$schema": "https://schema.suprsend.com/workflow/v1/schema.json",
"slug": "welcome-sequence",
"is_enabled": true,
"name": "Welcome Sequence",
"category": "transactional"
}