API reference
POSTRequires Bearer token
Activate license
/api/v1/companies/{company}/license/activate
Company-admin. Throttled (10/min). 422 with error_code such as LICENSE_KEY_MALFORMED, LICENSE_KEY_SIGNATURE_INVALID, LICENSE_KEY_COMPANY_MISMATCH, LICENSE_KEY_ALREADY_USED.
Path parameters
| Field | Type | Description |
|---|---|---|
company Required | string | Path parameter company. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
license_key Required | string | License key issued to the company (24–4096 characters). e.g. "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" |
Responses
| Status | Meaning |
|---|---|
| 200 | License activated |
| 401 | Missing or invalid Bearer token. |