DELETE

Delete Dns Zone


Deletes a DNS zone in Google's Cloud DNS.

The call is synchronous, that means it fails in case of an error on Google's side.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.

Endpoint
DELETE
https://www.wixapis.com/domains/v1/dns-zones/{domainName}

Path Params
domainNamestringRequired

Domain name to delete the DNS zone for.

Response Object
Returns an empty object.
Delete a DNS zone.
Request
cURL
curl -X DELETE 'https://www.wixapis.com/domains/v1/dns-zones/mysite.com' \ -H 'wix-account-id: <ACCOUNT_ID>' \ -H 'Authorization: <AUTH>' \
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?