Get the license installed on this self-hosted deployment, i.e. the plan it grants, the entitlements it unlocks, and its expiration. The license key itself is never returned. Returns 404 when no license is installed, and 501 on Logto Cloud.
GET
/api/systems/license
curl \
--request GET 'https://[tenant_id].logto.app/api/systems/license' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"plan": "self-hosted-pro",
"env": "production",
"quota": {
"hideLogtoBranding": true,
"bringYourUi": true,
"idpInitiatedSso": true,
"consoleCollaboration": true,
"mandatoryMfa": true,
"hostedEmail": true,
"samlApplicationsLimit": 42.0
},
"expiresAt": "string",
"installedAt": "string"
}