REST API - update

vcenter system config features tech preview: update

Sets the status to enabled/disabled for the Tech Preview feature switches present in the input key/value pairs. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

PATCH https://{server}/rest/vcenter/system-config/features/tech-preview

Request Body Structure:

{
    "feature_status"[
        {
            "value""ENABLED",
            "key""string"
        }
    ]
}

Request Body Parameters:

Name Type Description
bold = required
feature_status list key/value pairs of feature names and their desired status. If a feature name is not present in the key/value pairs the status of that feature will not be changed. If an unknown feature name is specified a {@link com.vmware.vapi.std.errors.NotFound error} will be reported.List of {"key": string, "value": string}
feature_status[].key string
feature_status[].value string Defines the possible states of a feature state switch. Warning: This enumeration is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Value is one of:
ENABLED: Feature state switch is enabled. Warning: This constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
DISABLED: Feature state switch is disabled. Warning: This constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error if the feature names list is not accessible.
404 not_found if a feature state switch name is not found.
401 unauthenticated if the caller is not authenticated.