Prerequisites
You must be an authenticated as an admin, using a PAT to query this endpoint.
Endpoint
If you want to see the license details of your server installation, you can leverage the below API endpoint.
<circleci_url>/api/v1/admin/licensing
You will see information such as license expiration, licensed seats, active seats, suspended seats, inactive seats, etc.
Example
% curl https://<circleci_url>/api/v1/admin/licensing -H "Circle-Token: ${MY_API_KEY}"
{
"license_expiration" : "202x-xx-xx",
"licensed_seats" : 50, "active_seats" : 1, "suspended_seats" : 2, "inactive_seats" : 0, "requested_seats" : 0 }
Comments
Article is closed for comments.