---
title: "index"
method: GET
path: "/api/v1/licenses/{license_key}/license.json"
tags: ["licenses"]
---

# index

`GET /api/v1/licenses/{license_key}/license.json`

STILL IN USE BY GITLAB
Retrieve a packagecloud:enterprise license file and GPG signature.
Signature can be verified with the packagecloud GPG key:
<https://packagecloud.io/gpg.key>.

**Example request:**

```
curl https://packagecloud.io/api/v1/licenses/aabbccddeeffaa/license.json
```

## Path parameters

- `license_key` string, required

## Response `200`

Hash JSON hash containing the license data and GPG signature

- License
  - `license` string — The packagecloud:enterprise license data (YAML-encoded string).
  - `signature` string — The GPG signature of the license data, verifiable against the packagecloud GPG key.

---

[API](https://skmtc.dev/cstrahan/apis/packagecloud-api.md) · [All operations](https://skmtc.dev/cstrahan/apis/packagecloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cstrahan/packagecloud-api/revisions/9744ac4cffc2/schema)
