curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/response-automation-v2/{workflow_id}/terminate' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY"
Terminate rav2
Accepted — response-automation workflow terminated.
POST
/
v1
/
workflows
/
response-automation-v2
/
{workflow_id}
/
terminate
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/response-automation-v2/{workflow_id}/terminate' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY"
Path parameters
string (string)
required
Request body
No request body.Response
No response body. Accepted — response-automation workflow terminated.Status codes
| Code | Meaning |
|---|---|
202 | Accepted — response-automation workflow terminated. |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/response-automation-v2/{workflow_id}/terminate' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY"
Last modified on September 21, 2026