Werk #15437: folder_config: deleting the root folder via the rest-api no longer causes an internal server error

Component REST API
Title folder_config: deleting the root folder via the rest-api no longer causes an internal server error
Date Mar 27, 2023
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk fixes an issue with the folder_config delete endpoint. Previously, when attempting to delete the root folder via the rest-api, a 500 internal server error would be raised. We now return a 401 with an appropriate error message.

To the list of all Werks