Werk #18912: notification rules: align required fields in the Rest-API with the UI
| Component | REST API | ||||
| Title | notification rules: align required fields in the Rest-API with the UI | ||||
| Date | Dec 31, 2025 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Rest-API notification rule creation now makes all non-required fields optional, aligning with the behavior of the UI. Previously, all fields were mandatory when creating a notification rule via the Rest-API.
This change simplifies the process by allowing you to omit optional fields, reducing the chance of errors and making your scripts easier to write and maintain. Existing scripts that include all fields will continue to work without any modifications.