Werk #14901: user_config: REST API fix to ensure the request and response schemas align
Component | REST API |
Title | user_config: REST API fix to ensure the request and response schemas align |
Date | Oct 5, 2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.2.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Incompatible - Manual interaction might be required |
This werk introduces a fix that aligns both the response and request schemas on the user_config endpoints. The response schema now nests the enforce_password_change attribute just like the request schemas. So the response from a GET request has the same format as what is required in a POST/PUT request. Client scripts should be adjusted accordingly.