Permanently delete a workflow. Any in-progress executions will complete, but no new executions will be triggered.
Endpoint
DELETE /v1/accounts/:accountId/workflows/:id
Authentication
Bearer token required.
Path Parameters
The workflow’s unique ID.
Response
Returns an empty data object on success.
Example
curl -X DELETE https://api.collab-kit.com/v1/accounts/${ACCOUNT_ID}/workflows/wf_abc123 \
-H "Authorization: Bearer ${TOKEN}"
{
"type": "response",
"success": true,
"description": "Workflow deleted",
"data": {},
"error": null
}