ServerMania logo

Delete Resolver

To delete a resolver, use the following request:

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

XML Request Example

curl -i -X DELETE -u user:userpass --urlhttp://test/settings/nameservers/12.xml

JSON Request Example

curl -i -X DELETE -u user:userpass --url http://test/settings/nameservers/12.json

Returns HTTP 200 response on successful deletion, or HTTP 404 when a resolver with the ID specified is not found, or the URL requested is incorrect.