Create an alarm rule
POST/alarm-rules
Stores a new rule and projects its schedule onto a scheduler job in the same transaction. Responds 400 when the condition does not compile or does not yield a truth value - a rule with an invalid condition cannot come into existence. Objects that carry none of the referenced properties do not prevent saving; they are excluded from the binding, which the validation endpoint reports.
Request
Responses
- 200
- 400
- 401
- 403
- 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.
the default error response