Update Search Based Alert Config
Update an existing Search Based Alert Configuration (User Defined Alert Configuration).
The Entity ID of object requestion information on
Update an existing User-Defined event.
{
"alert_name": "string",
"search_criteria": "string",
"generate_alert_criteria": "string",
"alert_type": "string",
"severity": "string",
"notification_settings": [
{
"type": "string",
"frequency": "string",
"notification_time": "string",
"receivers": [
"string"
],
"enabled": false
}
]
}
Name of the Search based Alert Configuration.
The search query for the search-based alert configuration.
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
The type of alert. It can take a value PROBLEM or CHANGE.
Notifications configured for alerts corresponding to this alert configuration.
Success
{
"entity_id": "string",
"alert_name": "string",
"enabled": false,
"search_criteria": "string",
"generate_alert_criteria": "string",
"alert_type": "string",
"severity": "string",
"notification_settings": [
{
"type": "string",
"frequency": "string",
"notification_time": "string",
"receivers": [
"string"
],
"enabled": false
}
]
}
entity_id
Name of the Search based Alert Configuration.
Boolean value to depict if the Search based alert configuration is enabled.
The search query for the search-based alert configuration.
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
The type of alert. It can take a value PROBLEM or CHANGE.
Notifications configured for alerts corresponding to this alert configuration.
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Unauthorized
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Forbidden
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Not Found
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Internal Error