AutomationActions.Delete
Delete one automation action
Permissions
User must be logged in and allowed to manage automation/settings for this account.
Action
Delete one automation action node.
Push Service
Pushes automationactions.delete updated/deleted so automation builder screens can refresh.
Automation
No business automation runs while editing automation configuration. It runs later only when an active trigger event happens.
Special Instructions
These are configuration routes. They do not execute the business automation immediately. Full instructions: /docs/generated/app-route-diffs/AutomationActions.Delete.md Sample curl: curl -X POST https://{domain}/app/AutomationActions.Delete \ -H 'Authorization: Bearer YOUR TOKEN' \ -d 'id=200'
Required Parameters
| Name | Type | Sample | Explanation |
|---|---|---|---|
idpost | int | 123 | Record id. |
Optional Parameters
No optional body parameters are defined for this function.
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/AutomationActions.Delete",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"id": "200"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/AutomationActions.Delete",
"url_domain": "https:\/\/{domain}\/app\/AutomationActions.Delete"
}Endpoint
POST /app/AutomationActions.Delete
POST https://{user}.bull36.com/app/AutomationActions.Delete
POST https://{domain}/app/AutomationActions.DeleteSample Output
{
"success": "1",
"message": "AutomationActions.Delete removed",
"id": "200",
"automation_event": null,
"socket_event": "automationactions.delete.deleted"
}JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('id', '200');
const res = await fetch('/app/AutomationActions.Delete', {
method: 'POST',
headers: { Authorization: `Bearer ${token}` },
body
});
const data = await res.json();
console.log(data);Error Example
{
"success": "0",
"message": "Missing required parameter: id"
}