License
The license of a self-hosted installation: its state, limits and usage, and installing a new one.
Install a license
Self-hosted installations, staff users only. Verifies a license against this installation (signature, installation id, validity dates) and, when it is valid, makes it the license in force; returns the new status. Works in read-only mode too. 400 with `code: license_invalid` and the verification error when it is not valid.
Get the license status
Returns the state of the installation's license, its limits and the usage counted against them (seats active in the last 30 days, runs this month), with warnings to act on. With enforcement on, `read_only` means the API refuses writes until a valid license is installed; with `enforcement: false` nothing is refused. Any authenticated user may read it.