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 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.