Get Licensing Info
This article lists REST API requests concerning TeamCity licensing.
To get the general information about the server licensing (number of available agents/configurations, server license type, effective release date, and so on), use:
GET/app/rest/server/licensingData
To get a list of license keys currently available on the server, use:
GET/app/rest/server/licensingData/licenseKeys
To get details of a specific license key (for example, 00000-00000-00000-00000-00000-00000-00000-00000-00000-00000-00000
) use:
GET/app/rest/server/licensingData/licenseKeys/00000-00000-00000-00000-00000-00000-00000-00000-00000-00000-00000
To add a new key(s), POST text/plain
the newline-delimited keys to:
POST/app/rest/server/licensingData/licenseKeys
To delete a license key (for example, 00000-00000-00000-00000-00000-00000-00000-00000-00000-00000-00000
), use:
DELETE/app/rest/server/licensingData/licenseKeys/00000-00000-00000-00000-00000-00000-00000-00000-00000-00000-00000
Thanks for your feedback!
Was this page helpful?