Werk #14901: user_config: REST API fix to ensure the request and response schemas align
Komponente | REST API |
Titel | user_config: REST API fix to ensure the request and response schemas align |
Datum | 05.10.2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.2.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein |
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.