Werk #18062: Fix 404 error code in site create, update and delete endpoints

Component REST API
Title Fix 404 error code in site create, update and delete endpoints
Date May 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.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p34 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The endpoints for creating, updating, and deleting sites were returning a 404 error code instead of a 400 error code in case of validation errors.

To the list of all Werks