Werk #13655: REST API host_config: fix the create and update endpoints when including a host attribute

Component REST API
Title REST API host_config: fix the create and update endpoints when including a host attribute
Date Feb 23, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p22 2.1.0b3 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In the previous version, the create and update host endpoints returned a 500 error when the user tried to register or modify a host with attributes. This werk fixes this behaviour and returns a 400 error when an invalid attribute is included.

To the list of all Werks