v5

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-167122208.0 KB
licenses

index

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
get/api/v1/licenses/{license_key}/license.json

Path parameters

license_keystring required

The packagecloud:enterprise license key

Response

Hash JSON hash containing the license data and GPG signature

licensestring

The packagecloud:enterprise license data (YAML-encoded string).

signaturestring

The GPG signature of the license data, verifiable against the packagecloud GPG key.

Example response

{
  "license": "---\n:company_name: company-2\n:company_domain: www.domain2.com\n",
  "signature": "-----BEGIN PGP SIGNATURE-----\n...\n-----END PGP SIGNATURE-----\n"
}