License Manager Update License Label

License Manager Update License Label

Update a license's label.

It creates a label entry if the labelKey doesn't already exist

Required privileges: Global.Licenses

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/LicenseManager/{moId}/UpdateLicenseLabel
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case LicenseManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
UpdateLicenseLabelRequestType of type(s) application/json
Required
{
    "licenseKey": "string",
    "labelKey": "string",
    "labelValue": "string"
}
string
licenseKey
Required

A license.

string
labelKey
Required

A label key.

string
labelValue
Required

Value for the label.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure