alerts
Update an existing Alert Notification Silencing Rule
Updates an existing Alert Notification Silencing Rule according to the specifications provided
put/api/v2/spaces/{spaceID}/notifications/silencing/rule/ruleID
Request
- Base URLhttps://api.netdata.cloud (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
spaceIDstring uuid required
The unique identifier of the requested space.
ruleIDstring uuid required
The unique identifier of the Silencing Rule to be updated.
Request body
Example request
{
"account_id": "0deede74-2257-48d7-8b3b-22e3728cd2ff",
"alert_contexts": [
"system.cpu",
"cpu.cpu"
],
"alert_instances": [
"system.post_update_reboot_status"
],
"alert_names": [
"10min_cpu_iowait"
],
"alert_roles": [
"webmaster"
],
"host_labels": {
"{\"os\"": "\"linux\"}"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"integration_ids": [
"303f0cc7-8613-4960-bea6-827be15cb043",
"32000626-37df-4c20-9dd0-cbe2c834384e"
],
"lasts_until": "2025-05-20T01:49:01.803Z",
"name": "notify only for Criticals",
"node_ids": [
"21b52a82-8a5f-4a92-8446-8a84c7d1539c",
"c6b6bcc9-27f1-47c0-ab47-c9cd2b6fc45a",
"805e93d7-ad28-4003-a3cb-83e42d1765df"
],
"notification_options": [
"CRITICAL",
"UNREACHABLE"
],
"room_ids": [
"7314a1f2-dcc9-44cb-b9af-297a362bd800",
"fff17c3c-4a7c-4990-87c7-dcb7e5d70de8"
],
"rrule": "RRULE:FREQ=DAILY",
"starts_at": "2025-05-19T13:49:01.803Z",
"state": "ACTIVE",
"timezone": "Europe/Lisbon"
}Response
The newly updated Silencing Rule
Example response
{
"account_id": "0deede74-2257-48d7-8b3b-22e3728cd2ff",
"alert_contexts": [
"system.cpu",
"cpu.cpu"
],
"alert_instances": [
"system.post_update_reboot_status"
],
"alert_names": [
"10min_cpu_iowait"
],
"alert_roles": [
"webmaster"
],
"created_at": "2025-05-19T13:49:01.803Z",
"creator": {
"avatar_url": "https://avatars.netdata.cloud/0deede74-2257-48d7-8b3b-22e3728cd2ff.png",
"email": "joao@netdata.cloud",
"id": "0deede74-2257-48d7-8b3b-22e3728cd2ff",
"name": "Joao"
},
"host_labels": {
"{\"os\"": "\"linux\"}"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"integration_ids": [
"303f0cc7-8613-4960-bea6-827be15cb043",
"32000626-37df-4c20-9dd0-cbe2c834384e"
],
"lasts_until": "2025-05-20T01:49:01.803Z",
"name": "notify only for Criticals",
"node_ids": [
"21b52a82-8a5f-4a92-8446-8a84c7d1539c",
"c6b6bcc9-27f1-47c0-ab47-c9cd2b6fc45a",
"805e93d7-ad28-4003-a3cb-83e42d1765df"
],
"notification_options": [
"CRITICAL",
"UNREACHABLE"
],
"room_ids": [
"7314a1f2-dcc9-44cb-b9af-297a362bd800",
"fff17c3c-4a7c-4990-87c7-dcb7e5d70de8"
],
"rrule": "RRULE:FREQ=DAILY",
"starts_at": "2025-05-19T13:49:01.803Z",
"state": "ACTIVE",
"timezone": "Europe/Lisbon"
}Changes
No recorded changes to this operation across all 1 revision of this API.