Installation

Get the license used by an organization.

Changed on

Returns the organization license information. If no license is scoped to the organization, then the platform license is returned.

User must be authenticated.

get/organizations/{orgId}/license

Request

  • Base URL
    /management/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /management/v2/organizations/{orgId}/license
  • Auth
    • HTTP basic
    • or API key in cookie Auth-Graviteeio-APIM

Response

The license and its features. If there is no license, then the features will be empty.

tierstring

The tier gravitee is running on.

packsstring[]

The packs included in the tier gravitee is running on.

featuresstring[]

The features included in the tier gravitee is running on.

expiresAtstring date-time

The date (as timestamp) when the license will expire.

isExpiredboolean

If the license is expired.

scopestring

The scope of the license.

Example response

{
  "tier": "tier-planet",
  "packs": [
    "pack-observability",
    "pack-event-native"
  ],
  "features": [
    "feature-debug-mode",
    "feature-datadog-reporter"
  ],
  "scope": "PLATFORM"
}

Changes