Werk #12346: API: modifying the host and folder update endpoints

Component Core & Setup
Title API: modifying the host and folder update endpoints
Date Mar 5, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

This werk introduces some changes to the update endpoint of host and folder. Providing a non existing remove attribute resulted previously in a 500 error. This is fixed to return a more appropriate 400 error. The bulk update code examples were updated to reflect the actual content of the endpoint. Similar to the single update call, the bulk update now also return a 400 error instead of 500 when trying to remove non existing attributes.

To the list of all Werks