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 Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0b3 2.0.0p22
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