REST API - set

appliance networking no proxy: set

Sets servers for which no proxy configuration should be applied. This operation sets environment variables. In order for this operation to take effect, a logout from appliance or a service restart is required. If IPv4 is enabled, "127.0.0.1" and "localhost" will always bypass the proxy (even if they are not explicitly configured). This operation was added in vSphere API 6.7.

Request:

HTTP request

PUT https://{server}/rest/appliance/networking/noproxy

Request Body Structure:

{
    "servers"[
        "string",
        "string"
    ]
}

Request Body Parameters:

Name Type Description
bold = required
servers string[] List of strings representing servers to bypass proxy. A server can be a FQDN, IP address, FQDN:port or IP:port combinations.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error.