myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Delete workflow

DELETE

/api/v1/ext/workflows/{id}

Delete a workflow.

Auth: Bearer access_token
Scope: automations.write

Runs in progress are cancelled first. A workflow an AI agent uses as a task cannot be deleted until it is removed from the agent (400). Cannot be undone.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
Workflow id.
workspace_id
query
number
yes
A workspace of the installer.

Responses

StatusWhen
200
OK
400
Used by an AI agent
401
Missing or invalid token
403
Missing scope
404
workspace_id does not exist or is not the installer's (same response for both)
404
The workflow does not exist, is not the installer's, or is in another workspace
Request
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/workflows/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "message": "Workflow deleted",
  "data": {
    "id": 1201
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

Workflow id.

Query parameters

A workspace of the installer.

Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/workflows/%7Bid%7D
Previous

« Deactivate workflow

Next

Add contacts to a workflow »