REST API - update

appliance networking: update

Enable or Disable ipv6 on all interfaces. This operation was added in vSphere API 6.7.

Request:

HTTP request

PATCH https://{server}/rest/appliance/networking

Request Body Structure:

{
    "spec"{
        "ipv6_enabled"true
    }
}

Request Body Parameters:

Name Type Description
bold = required
spec update_spec update spec with optional boolean value.
spec.ipv6_enabled boolean IPv6 Enabled or not. This attribute was added in vSphere API 6.7.

Optional. If unspecified, leaves the current state of Ipv6.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error.