Werk #16037: folder_config/host_config: No longer accept non-existent site

Component REST API
Title folder_config/host_config: No longer accept non-existent site
Date Dec 22, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p19 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

You can no longer set a non-existent site on folders and hosts.

When called with a non-existent site as an attribute the endpoints now return the status code 400.

To the list of all Werks