Child pages
  • Edit Resolver
Skip to end of metadata
Go to start of metadata

Use the following method to edit a resolver:

PUT /settings/nameservers/:id.xml
PUT /settings/nameservers/:id.json

XML Request example

curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<nameserver><adress></address><network_id>3</network_id></nameserver>' --url http://onapp.test/settings/nameservers/:id.xml

JSON Request example

curl -i -X PUT -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '{"nameserver":{"address":"","network_id":"6"}}' --url http://onapp.test/settings/nameservers/:id.json

You can edit the address and network_id parameters.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels