Werk #18286: site_management: remove the 'secret' field from the site management endpoints

Component REST API
Title site_management: remove the 'secret' field from the site management endpoints
Date Aug 28, 2025
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p11 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p37
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When calling the rest api endpoint family Site management, we previously returned the site secret in the response. This is a security risk and therefore we have removed it. Also, it was possible to set the secret via the rest-api edit or create endpoints. This is not possible via the UI, so we have also removed this possibility from the rest-api.

To the list of all Werks