License Manager Disable Feature
Deprecated as of vSphere API 4.0, use RemoveAssignedLicense instead.
Release licenses for an optional feature.
Required privileges: Global.Licenses
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}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"DisableFeatureRequestType Object"
Host to act on if LicenseManager is not on a host.
key of the feature to disable.
Returns true if the feature was disabled and false if not.
InvalidArgument: If a feature name is not found or it is not optional.
LicenseServerUnavailable: If the license server is unavailable.
InvalidState: If the feature is in use.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/LicenseManager/{moId}/DisableFeature