API reference
License
The server's KyPanel license.
License status
GET/api/v1/license
Responses
- 200 OK
Body
Field Type grace_ends_atinteger ipalwaysstring last_checkin_atinteger last_checkin_errorstring lease_expires_atinteger lease_issued_atinteger license_idstring license_serveralwaysstring next_checkin_atinteger planstring read_onlyalwaysboolean readonly_sinceinteger register_urlalwaysstring server_pubalwaysstring statusalwaysstring trial_ends_atinteger - 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 503 Service Unavailable: license-off
Check the license now
POST/api/v1/license/check
Responses
- 200 OK
Body
Field Type grace_ends_atinteger ipalwaysstring last_checkin_atinteger last_checkin_errorstring lease_expires_atinteger lease_issued_atinteger license_idstring license_serveralwaysstring next_checkin_atinteger planstring read_onlyalwaysboolean readonly_sinceinteger register_urlalwaysstring server_pubalwaysstring statusalwaysstring trial_ends_atinteger - 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 429 Too Many Requests: too-soon
- 503 Service Unavailable: license-off