Add License Key
Add a a new license key
Show optional properties
{
"key": "XX0XX-XX0XX-XX0XX-XX0XX-XX0XX ",
"productType": "One among: VCENTER, VSAN, ESXI, NSXT, WCP",
"description": "string"
}
{
"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
}
The ID of the license key
The 29 alpha numeric character license key with hyphens
The type of the product to which the license key is applicable
Description of the license key given by user
Product version
Indicates if the license key has unlimited usage
Defines license key usage
Defines license key validity details
License key features
License key edition
License capacity unit
The minimum number of core licenses required per CPU, when license unit is cpu core
Created
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 -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"description:"string","key:"string","productType:"string"}' https://{api_host}/v1/license-keys