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
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p19 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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.

To the list of all Werks