Enable or disable an alarm rule
PUT/alarm-rules/:alarmRuleId/enabled
Switches a rule on or off without sending its whole definition. A disabled rule raises no new alarms, and disabling one ends the alarms it has standing, the self-alarm included. Enabling it again revives none of them: a condition that is still met raises a new alarm on the next run, with its raise delay starting over.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- default
OK
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