Update Dns Config For Router

Update Dns Config For Router

Updates dns configuration of a universal Router

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/universalRouters/{universalRouterId}/dns
COPY
Path Parameters
string
universalRouterId
Required

universalRouterId

string
universalRouterId
Required

universalRouterId


Request Body
RouterDnsConfig of type(s) application/json
Required
{
    "enabled": false,
    "nameServers": [
        "string"
    ]
}
boolean
enabled
Optional

enabled

array of string
nameServers
Optional

nameServers

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

Returns Error of type(s) */*;version=38.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace


404

The specified resource was not found

Returns Error of type(s) */*;version=38.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace