Update User Defined Event
Update an existing User-Defined event.
The Entity ID of object requestion information on
Update an existing User-Defined event.
{
"event_name": "string",
"is_problem": false,
"severity": "string",
"search_criteria": "string",
"generate_event_criteria": "string",
"email_frequency": "string",
"daily_at_utc": "string",
"email_ids": [
"string"
],
"snmp_trap_entity_ids": [
"string"
],
"notification_settings": [
{
"type": "string",
"frequency": "string",
"notification_time": "string",
"receivers": [
"string"
],
"enabled": false
}
]
}
event_name
is_problem
severity
search_criteria
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
email_frequency
daily_at_utc
email_ids
snmp_trap_entity_ids
Notifications configured for alerts corresponding to this alert configuration.
Success
"SubscriptionResponse Object"
entity_id
active
event_name
is_problem
severity
search_criteria
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
email_frequency
daily_at_utc
email_ids
snmp_trap_entity_ids
Notifications configured for alerts corresponding to this alert configuration.
Bad Request
"ApiError Object"
code
message
details
Unauthorized
"ApiError Object"
code
message
details
Forbidden
"ApiError Object"
code
message
details
Not Found
"ApiError Object"
code
message
details
Internal Error
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/ni/settings/events/user-defined-events/{id}