Maintenance Admin API

Refresh the license

POST /api/v1/license/refresh

Checks the installed license again with the license server, like the Refresh button of the license settings. Only for an admin allowed to change the general settings.

Responses
200 The license, as the license server sees it now.
400 The license server could not be asked; the license is the one stored before.
401 The token is missing or wrong, or its admin may not change the general settings.
404 No license is installed.
Refresh the license
1 2 3
curl -X POST 'https://your-domain/api/v1/license/refresh' \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Response
{
    "status": "success",
    "license": {
        "purchase_code_masked": "ab12****************cd34",
        "type": "Regular License",
        "status": "active",
        "is_active": true,
        "is_expired": false,
        "supported_until": "2027-05-01T00:00:00+00:00",
        "supported_until_human": "Sat, May 1, 2027 12:00 AM",
        "days_remaining": 167,
        "buyer": "example-buyer"
    }
}