TeamCity REST API Reference 2024.03 Help

Get Licensing Info

This article lists REST API requests concerning TeamCity licensing.

Licensing Information

To get the general information about the server licensing (number of available agents/configurations, server license type, effective release date, and so on), use:

/app/rest/server/licensingData

Get License Keys

To get a list of license keys currently available on the server, use:

/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:

/app/rest/server/licensingData/licenseKeys/00000-00000-00000-00000-00000-00000-00000-00000-00000-00000-00000

Add License Key

To add a new key(s), POST text/plain the newline-delimited keys to:

/app/rest/server/licensingData/licenseKeys

Delete License Key

To delete a license key (for example, 00000-00000-00000-00000-00000-00000-00000-00000-00000-00000-00000), use:

/app/rest/server/licensingData/licenseKeys/00000-00000-00000-00000-00000-00000-00000-00000-00000-00000-00000
Last modified: 27 March 2024