Esx. Settings. Capabilities Get

Esx. Settings. Capabilities Get

Returns information about the capabilities of the vCenter.

This operation was added in vSphere API 8.0.0.1.

Returns an authorization error if you do not have all of the privileges described as follows:

  • Operation execution requires System.Read.
Request
URI
GET
https://{api_host}/esx/settings/capabilities
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

Information about the capabilities of the vCenter.

Returns Esx.Settings.Capabilities.Info of type(s) application/json
"Esx.Settings.Capabilities.Info Object"

401

if the user is not authenticated.

Returns Vapi.Std.Errors.Unauthenticated of type(s) application/json
"Vapi.Std.Errors.Unauthenticated Object"

403

if the user does not have System.Read privilege.

Returns Vapi.Std.Errors.Unauthorized of type(s) application/json
"Vapi.Std.Errors.Unauthorized Object"

500

if the system reports an error while responding to the request.

Returns Vapi.Std.Errors.Error of type(s) application/json
"Vapi.Std.Errors.Error Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/esx/settings/capabilities