Install a license code
POST/api/license
Persists the given license code to license.json and reloads the runtime license. A code the runtime can't verify (malformed, wrong signature, or issued for a different installation) never takes effect: whatever was installed before is restored and the request fails with the runtime's rejection message. Emits a license-installed audit event, and an additional transfer-in audit event when the resulting status indicates the license was transferred from another installation. Refuses codes that this installation previously migrated away from while that migration is still declared.
Request
Responses
- 200
- 409
- 422
Successful Response
This License Code was migrated away from this installation.
license_code must not be empty, or the code failed verification