---
title: "Get the license used by an organization."
method: GET
path: "/organizations/{orgId}/license"
tags: ["Installation"]
---

# Get the license used by an organization.

`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: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

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

User must be authenticated.

## Response `200`

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

- GraviteeLicense
  - `tier` string: The tier gravitee is running on.
  - `packs` string[]: The packs included in the tier gravitee is running on.
  - `features` string[]: The features included in the tier gravitee is running on.
  - `expiresAt` string, date-time: The date (as timestamp) when the license will expire.
  - `isExpired` boolean: If the license is expired.
  - `scope` string: The scope of the license.

## Other responses

- `default`: Generic error response

## Changes

- **2024-04-18** `88664aaa8dd8`: 1 breaking
  - the `details/items/invalidValue` response's property type changed from `object` to no type for status `default`
- **2024-02-23** `dadf7aee9729`: 1 info
  - added the optional property `isExpired` to the response with the `200` status
- **2024-02-09** `a4b1c84e85f7`: 1 info
  - added the optional property `scope` to the response with the `200` status

[Operation history](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation/changes/organizations/:orgId/license/get.md)

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation/revisions/adff27ddef52?raw)
