Login

Delete domain name

HTTP method

DELETE

URL

https://api.zilore.com/dns/v1/domains

Request parameters

Parameter

Description

domain_id

Domain name identifier. To delete several domain names, separate their identifiers with commas. The value of the domain_id parameter can be found by using the list_domains method.

domain_name

Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format. To delete several domain names, separate them with commas.

Depending on the scenario, you can use the parameters domain_id or domain_name. If both parameters are passed, domain_name is ignored.

Response fields

Parameter

Description

failed_domains

Includes an object where a reason is specified for each erroneous domain

Request example

DELETE https://api.zilore.com/dns/v1/domains?domain_name=example.com,example1.com
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0

Response example

{
"status": "ok",
"response": {
"domain_status": "deleted"
}
}