Get License Keys
Retrieve a list of license keys
Type of a Product
NSXV,VCENTER
Status of a License Key
EXPIRED,ACTIVE
Unit of a license
CPUPACKAGE, CORE
Product Version, gets the license keys matching the major version of the product version
6,7.0.3,8.0
Successful
{
"elements": [
{
"id": "string",
"key": "XX0XX-XX0XX-XX0XX-XX0XX-XX0XX ",
"productType": "One among: VCENTER, VSAN, ESXI, NSXT, WCP",
"description": "string",
"productVersion": "string",
"isUnlimited": false,
"licenseKeyUsage": {
"total": 0,
"remaining": 0,
"used": 0,
"licenseUnit": "One among: CPUPACKAGE, INSTANCE, VMS, CCU, PLU, DESKTOPVM, SERVERVM, VM, SERVER, CORES, CONCURRENTUSER, NAMEDUSER, CPUCORE, TIB"
},
"licenseKeyValidity": {
"licenseKeyStatus": "One among: EXPIRED, ACTIVE, NEVER_EXPIRES",
"expiryDate": "string"
},
"features": [
"string"
],
"licenseEdition": "string",
"licenseUnit": "string",
"minimumCore": 0
}
],
"pageMetadata": {
"pageNumber": 0,
"pageSize": 0,
"totalElements": 0,
"totalPages": 0
}
}
The list of elements included in this page
Represents pageable elements pagination metadata
Internal server error
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -H 'Authorization: <value>' https://{api_host}/v1/license-keys