# Install a license. **PUT /api/systems/license** Install a license key on this self-hosted deployment, replacing the installed license if there is one. The key's signature is verified against the public key built into Logto before it is saved, and a key past its expiration is rejected as a stale copy. Returns 501 on Logto Cloud. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Body: application/json (object) - **license** (string) The license key to install, as issued by Logto Cloud. ## Responses ### 204 The license has been installed. ### 400 The license key is invalid or has been tampered with, or it has expired. ### 401 Unauthorized ### 403 Forbidden ### 501 Licenses are only available on self-hosted deployments. [Powered by Bump.sh](https://bump.sh)