NSX-T Data Center REST API

Add a new license key

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:

Method:
POST
URI Path(s):
/api/v1/licenses
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
License+

Example Request:

POST https://<nsx-mgr>/api/v1/licenses { "license_key": "11111-22222-33333-44444-55555" }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
License+

Example Response:

{ "capacity_type": "VM" "quantity": 1, "is_eval": false, "description" : "NSX for vSphere - Standard" "expiry": 1458688231359, "license_key": "11111-22222-33333-44444-55555" }

Required Permissions:

crud

Feature:

system_configuration_license

Additional Errors: