Werk #16100: licensing: the 'settings' field is now required for license configuration
Komponente | REST API | ||||
Titel | licensing: the 'settings' field is now required for license configuration | ||||
Datum | 14.09.2023 | ||||
Level | Kleine Änderung | ||||
Klasse | Bugfix | ||||
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein | ||||
Checkmk versions & editions |
|
This werk addresses an issue found by our QA team with regards to the following endpoint
PUT /domain-types/licensing/actions/configure/invoke
Previously, we got an internal server error when attempting to call this endpoint with no 'settings' field or with no data for the 'settings' field. We have now made 'settings' a required field and the correct request data must be present.
Examples of correct request data
{
"settings": {
"mode": "offline"
}
}
or
{
"settings": {
"mode": "online",
"credentials": {
"username": "application-account-id",
"password": "application-account-password"
}}
}