Stop all workflow executions

Stop all workflow executions for a subscriber.

This operation is a no-op if the subscriber is not executing any worklfows.

Resource URL:

POST https://api.essential.to/v2/account/channels/{channel_sid}/subscribers/{phone_number_or_sid}/automation_workflow_executions/stop_all

Resource information:

Response formatJSON
Requires authentication?Yes

Parameters:

reason
required

A description of why the workflows are being stopped.

Sample code:

curl \
  -X POST \
  -u '[SID]:[TOKEN]' \
  -H 'Content-Type: application/json' \
  -d '{ "reason": "Too much workflow goodness" }' \
  'https://api.essential.to/v2/account/channels/p03Gjl8Uzn0RkZSpHXHnrw/subscribers/15009998080/automation_workflow_executions/stop_all'

# Sample response
202 Accepted
Python coming soon.
Node coming soon.