Create License
This will add a license key to the system. The API supports adding only one license key for each license edition type - Standard, Advanced or Enterprise. If a new license key is tried to add for an edition for which the license key already exists, then this API will return an error.
Request
URI
POST
https://nsxmanager.your.domain/api/v1/licenses
COPY
Request Body
License of type(s) application/json
Optional
{
"_self": {
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"features": "string",
"description": "string",
"product_version": "string",
"expiry": 0,
"is_eval": false,
"is_mh": false,
"license_key": "string",
"is_expired": false,
"product_name": "string",
"capacity_type": "string",
"quantity": 0
}
Responses
200
Success
Returns License of type(s) application/json
This response body class contains all of the following: Resource , InlineLicense1
{
"_self": {
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"features": "string",
"description": "string",
"product_version": "string",
"expiry": 0,
"is_eval": false,
"is_mh": false,
"license_key": "string",
"is_expired": false,
"product_name": "string",
"capacity_type": "string",
"quantity": 0
}
default
Unexpected error
Returns ApiError of type(s) application/json
{
"module_name": "string",
"error_message": "string",
"error_code": 0
}
string
module_name
Optional
module_name
string
error_message
Optional
error_message
integer As int64 As int64
error_code
Optional
error_code