Delete an alarm
Delete an alarm and its history; the resource it watched is not affected.
Last updated 18 November 2026View as Markdown
Replace alarm-id with the alarm's id.
Warning
The alarm's history is deleted with it and cannot be restored.
Prerequisites
- Permission for
monitoring:DeleteAlarmson the alarm,rn:ews::<organization id>:monitoring:alarm/<alarm id>. Without it, the console's Delete alarm is unavailable, with the note "Needs monitoring:DeleteAlarms on this alarm." - In the console, also
monitoring:DescribeAlarmsto open Alarms.
Delete the alarm
- Open Monitoring, then Alarms.
- Open the alarm's action menu and choose Delete alarm.
- Choose Delete.
dcloud monitoring alarms delete alarm-idDELETE /monitoring/api/alarms/alarm-idRemove the dcloud_monitoring_alarm from your configuration and apply, or run
terraform destroy -target.
Result
The alarm disappears from the list. The answer is 200 with its id; 404 "Alarm not found" when
your organization has no such alarm.
A default alarm another service made for its resource (it carries an ownerType and ownerId) can
be deleted like any other, and is not made again.
Related
Did this page help you?