curl --request DELETE \
--url 'https://api.workstream.stateset.com/v1/brands/{brand_id}/workflow-bindings/{workflow_type}' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY"
{
"deleted": 1
}
Delete workflow binding
Delete the brand’s bindings for . ?template_key= scopes the delete to one template; without it every row for the workflow_type is removed…
DELETE
/
v1
/
brands
/
{brand_id}
/
workflow-bindings
/
{workflow_type}
curl --request DELETE \
--url 'https://api.workstream.stateset.com/v1/brands/{brand_id}/workflow-bindings/{workflow_type}' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY"
{
"deleted": 1
}
Delete the brand’s bindings for {workflow_type}.
?template_key= scopes the delete to one template; without it every row for the workflow_type is removed. Returns 200 {‘deleted’: N} (not a bare 204) so the caller can see how many rows the sweep took; 404 when nothing matched.
NOTE: PATCH /v1/brands/{brand_id} with a workflow_bindings array delete-and-reinserts ALL bindings for the brand and will clobber rows created here.
Path parameters
string (uuid)
required
string (string)
required
Query parameters
string
Scope the delete to one template_key. Omitted, every binding for the workflow_type is deleted.
Response
WorkflowBindingDeleteResponse
integer
required
Number of rows removed.
Status codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
curl --request DELETE \
--url 'https://api.workstream.stateset.com/v1/brands/{brand_id}/workflow-bindings/{workflow_type}' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY"
{
"deleted": 1
}
Last modified on August 31, 2026