Child pages
  • Edit DNS Domain
Skip to end of metadata
Go to start of metadata

To edit DNS domain, send the following request:

PUT /settings/dns_setup.xml
PUT /settings/dns_setup.json

XML Request example

curl -i -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass http://onapp.test/settings/dns_setup.xml -X PUT -d "<dns_setup><domain></domain></dns_setup>" 

JSON Request example

curl -i -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass http://onapp.test/settings/dns_setup.json -X PUT -d '{"dns_setup": {"domain": ""}}'


The only required parameter is domain* – DNS domain name.

You will get a 204 status response on success and 404 if the domain name is invalid or you entered incorrect URL.

  • No labels