GET Config

GET Config

Retrieves the current cluster configuration. Requires a user with at least the admin_view permission. See https://kb.vmware.com/kb/2123058

Request
URI
GET
https://{api_host}/api/v1/config
COPY
Query Parameters
boolean
defaults
Optional
Constraints: default: false

Include all un-specified configuration options and their default values too.


Authentication
This operation uses the following authentication methods.
Responses
200
Operation doesn't return any data structure

Response Headers

string
Warning

Additional information about the life-cycle status of the API.

string
VMware-LI-API-Status

Indicates the life-cycle status of the API.


401

The request was refused because it lacks valid authentication credentials. This can happen if the Authorization header was missing, or if it contained an invalid session ID.

Obtain a new session ID and retry the request, or make an unauthenticated request without the Authorization header.

"Invalid session ID"

440

The request was refused because the session ID has expired. Obtain a new session ID from /api/v1/sessions.

"Login Timeout"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/config