DELETE
/api/v1/nodes/{master_node_id}/monitoring/triggers/
curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/{master_node_id}/monitoring/triggers/?id=12345&type=trigger&zabbix_id=67890&service_ids=320000&project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.delete( "https://api.e2enetworks.com/myaccount/api/v1/nodes/{master_node_id}/monitoring/triggers/", params={"id": "12345", "type": "trigger", "zabbix_id": "67890", "service_ids": "320000", "project_id": "<PROJECT_ID>", "apikey": "<API_KEY>", "location": "<LOCATION>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/nodes/{master_node_id}/monitoring/triggers/");url.search = new URLSearchParams({ id: "12345", type: "trigger", zabbix_id: "67890", service_ids: "320000", project_id: "<PROJECT_ID>", apikey: "<API_KEY>", location: "<LOCATION>" });
const response = await fetch(url, { method: "DELETE", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Deletes an alert trigger from a cluster node. Identify the trigger with the id and zabbix_id query parameters (from the node’s alert list), set type=trigger, and pass the node’s id in service_ids. The path takes the node id (e.g. master_node_id).
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”master_node_id
required
integer
The node id the alert is attached to (e.g. master_node_id).
Example
320000Query Parameters
Section titled “Query Parameters”id
required
integer
The alert trigger id to delete.
Example
12345type
required
string
The kind of monitoring object to delete.
Example
triggerzabbix_id
required
integer
The underlying monitoring (Zabbix) trigger ID.
Example
67890service_ids
required
integer
The node id the trigger belongs to.
Example
320000project_id
required
integer
Identifier of the project to scope the request to. Required integer project ID.
Example
<PROJECT_ID>apikey
required
string
API key used to authenticate the delete request.
Example
<API_KEY>location
required
string
Region of the cluster.
Example
<LOCATION>Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
code
integer
data
object
errors
string
message
string
Example
{ "code": 200, "errors": "", "message": "Trigger was deleted successfully"}