5.9.1. Delete domain

A domain delete command is used to delete a domain whose status allows it to be deleted.

The domain delete command is a delete element in the domain namespace (http://www.nic.cz/xml/epp/domain-1.4).

The command must be contained in the <delete> command type.

5.9.1.1. Command element structure

The <domain:delete> element must declare the domain namespace and schema and it must contain the following child element:

Example
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
   <command>
   <delete>
      <domain:delete xmlns:domain="http://www.nic.cz/xml/epp/domain-1.4"
       xsi:schemaLocation="http://www.nic.cz/xml/epp/domain-1.4 domain-1.4.5.xsd">
         <domain:name>mydomain.cz</domain:name>
      </domain:delete>
   </delete>
   <clTRID>zuhv011#17-05-05at14:51:57</clTRID>
   </command>
</epp>
FRED-client equivalent
> delete_domain mydomain.cz

5.9.1.2. Response element structure

The FRED EPP server responds with a plain result message which does not contain any response data (no <resData>).

See also Success or failure of a command.