Appearance
Delete an alert by name
About 127 wordsLess than 1 minute
apiAlert
2026-09-01
Deletes an alert permanently and removes its schedule.
| Method and path | POST /plugin/datafor/api/alert/delete |
| Permission | Delete on the alert |
| Content type | application/x-www-form-urlencoded |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | form | string | Yes | Alert name. |
Example
curl -u admin:password -X POST \
"http://localhost:28080/datafor/plugin/datafor/api/alert/delete" \
--data-urlencode "name=low_sales_north"{ "success": true, "code": "200" }Errors
HTTP 200 with success: false.
code | When |
|---|---|
404 | No alert has this name, or the caller cannot read it. |
500 | The alert could not be deleted, for example because the caller lacks Delete. The schedule is kept. |
Related: List alerts