Delete an alarm rule
DELETE/alarm-rules/:alarmRuleId
Deletes the rule and its scheduler job, and ends the alarms it has standing - nothing else could, since only a run of the rule ends an alarm. The alarms themselves stay and remain editable: an alarm outlives its rule and then only loses the reference to it.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- default
Alarm rule successfully deleted
the default error response
Unauthorized — the bearer token is missing, expired or invalid, or carries no role. Errors raised by the security aspects contain an ErrorDto body; requests rejected by the security filter chain may have an empty body.
Forbidden — the authenticated user lacks the required role or access rights.
Entity not found.
the default error response