Werk #16100: licensing: the 'settings' field is now required for license configuration

Component REST API
Title licensing: the 'settings' field is now required for license configuration
Date Sep 14, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p10 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

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"
        }}
}

To the list of all Werks