Install or replace the license
POST
/licensing/upload/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Send the license as JSON {"token": "…"}, or its file as file in a multipart form. The panel checks it, installs it and has the license server confirm it; streaming starts once it has. Superusers only.
Body
tokenstringThe license text you received.
filestring (binary)The license file, instead of
token.
Response
200 OK
detailstringrequiredThe holder, plan and server limit accepted.
licenseobjectrequiredThe panel's license, as the License page shows it. The license itself is never returned.
needs_setupbooleanrequiredread-onlycustomer_namestringrequiredread-onlyplanstringrequiredread-onlymax_serversintegerrequiredread-onlyfeaturesanyrequiredread-onlyexpires_atstring (date-time)requiredread-onlycan be nullis_expiredbooleanrequiredread-onlyWhether the license's expiry date has passed.
days_remainingintegerrequiredread-onlycan be nullWhole days left; negative once expired, null when there is no expiry.
jtistringrequiredread-onlylast_status_okbooleanrequiredread-onlylast_status_reasonstringrequiredread-onlylast_verified_atstring (date-time)requiredread-onlycan be nullactivated_bystringrequiredread-onlyupdated_atstring (date-time)requiredread-onlystreaming_allowedbooleanrequiredread-onlyproblemstringrequiredread-onlyserver_checkobjectrequiredread-onlyconfirmed_atstring (date-time)requiredcan be nulllease_expires_atstring (date-time)requiredread-onlycan be nullWhen streaming stops unless the panel reaches the license server again.
checked_atstring (date-time)requiredcan be nullerrorstringrequired
Errors
- 400 License rejected: its signature, expiry or issuer is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 Only a superuser can change the panel license.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.