appliance networking dns domains: set

Set DNS search domains.

Request:

HTTP request

PUT https://{server}/rest/appliance/networking/dns/domains

Request Body Structure:

{
    "domains"[
        "string",
        "string"
    ]
}
<?xml version="1.0" ?>
<ns0:Set-Input xmlns:ns0="http://vmware.com/appliance/networking/dns/domains" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <domains-array>
    <array-item>string</array-item>
    <array-item>string</array-item>
  </domains-array>
</ns0:Set-Input>

Request Body Parameters:

Name Type Description
bold = required
domains string[] List of domains.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error