Delete all the syslog integrations or the ones who match the filter criteria.
You must have View/Edit Alert Notification permissions to run this endpoint.
Authorization
String
required
authorization_example
x-xdr-auth-id
String
required
xXdrAuthId_example
request_dataObject
A dictionary containing the API request fields. An empty dictionary deletes all syslog servers.
filtersArray
Array of filter fields. Each JSON object must contain a field, operator, and value.
fieldObject (Enum)
String that identifies the syslog server field the filter is matching. Filters are based on the following case-sensitive keywords:
name
operatorObject (Enum)
String that identifies the comparison operator you want to use for this filter. Valid operator keywords and corresponding filter fields are:
- eq - used with name
valueString
Value that the filter must match. The contents of this field will differ depending on the website field that you specified for this filter:
- name - string
{
"request_data": {
"filters": [
{
"field": "name",
"operator": "EQ",
"value": "Default syslog server"
}
]
}
}
curl -X 'POST'
-H
'Accept: application/json'
-H
'Content-Type: application/json'
-H
'Authorization: authorization_example'
-H
'x-xdr-auth-id: xXdrAuthId_example'
'https://api-yourfqdn/public_api/v1/integrations/syslog/delete'
-d
''