PUT api/2.0/settings/dns This function requires authentication

Description

Saves the DNS settings specified in the request to the current portal.

Parameters
Name Description Type Example
DnsName
sent in body
DNS string some text
Enable
sent in body
Enabled or not Bool value true
Example
PUT api/2.0/settings/dns
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "DnsName": "some text",
  "Enable": true
}
Returns

Message about changing DNS