Monitor details like notification profiles, threshold and availability can be changed/updated in bulk using API without affecting the existing configuration settings.
Use Case:
A user wants to change only the notification profile of a monitor without affecting other configurations. The steps listed below need to be followed:
- Get the monitor details using GET /monitors/{monitor_id} api
- Replace the notification_profile_id in the data received from GET API and do PUT /monitors/{monitor_id} api call
For bulk action, please use the following API commands:
PUT /monitors/bulk_action {
"monitors”:[“ReplaceMonitorIDHere”],
”bulk_action_type":2,
"notification_profile_id”:”ReplaceNotificationProfileIDHere”
}
Note: Multiple monitor ids can be passed separated by a comma in the “monitors” array attribute.