Get Started
API backend
API system
More information

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 System.String
Enable
sent in body
Enabled or not System.Boolean
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