Stop the execution of a workflow for a subscriber.
This operation is a no-op if the subscriber is not executing the worklfow.
Response format | JSON |
---|---|
Requires authentication? | Yes |
sid required | The |
---|---|
reason required | A description of why the workflow is being stopped. |
curl \
-X POST \
-u '[SID]:[TOKEN]' \
-H 'Content-Type: application/json' \
-d '{ \
"sid": [WORKFLOW_SID], \
"reason": "Customer moved to new group" \
}' \
'https://api.essential.to/v2/account/channels/p03Gjl8Uzn0RkZSpHXHnrw/subscribers/15009998080/automation_workflow_executions/stop'
# Sample response
202 Accepted
Python coming soon.
Node coming soon.