Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.1.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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