Domain Delete

The syntax for this command follows standard EPP Domain name mapping, RFC-5731 and is not extended. Note that our business process implies a bit different semantics for delete operation.

<domain:delete> command is used to discontinue registrar management of a domain name (.lv domain objects are never really deleted from the registry, they only expire and become available for new registrations).

Note

<domain:delete> request is refused for newly registered domains.

On “deleting”, the following things happen:

  • the registrar role is removed from the domain. The holder becomes the billing contact, and the administrative contact becomes the technical contact;

    • as a consequence, from that moment, a domain name becomes “invisible” from the EPP viewpoint: further EPP requests for it would respond that "Domain name is outside of EPP scope";

  • active DNS and DNSSEC records are closed, removing the domain’s delegation from the zone;

  • the domain remains registered to its holder until it expires and is not made available for new registrations by this command;

  • the expiry date is unchanged.

Client request

The only relevant parameter is domain:name:

<?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="urn:ietf:params:xml:ns:domain-1.0"
       xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
       <domain:name>do-not-like-that-domain-anymore.lv</domain:name>
      </domain:delete>
    </delete>
    <clTRID>mFvZwyJKYHYmWpgS2JlG</clTRID>
  </command>
</epp>

Server response

  • On successful refusal of the registrar’s role, the server will respond with a code of 1000 (“Command completed successfully”)

Registrar role cannot be refused for a domain name which is in a pendingDelete, pendingCreate, pendingTransfer or deleteProhibited status (set either by client or server), or when the domain name is newly registered. In those cases:

  • error response code would be 2304 (“Object status prohibits delete operation”).

Example of error response (domain still in a pendingCreate state):

<?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">

  <response>
    <result code="2304">
      <msg>Domain status prohibits delete operation</msg>
    </result>
    <trID>
      <clTRID>mFvZwyJKYHYmWpgS2JlG</clTRID>
      <svTRID>LVNIC-20110627-b8c49f5859f20d81640f9dfc94771136-7</svTRID>
    </trID>
  </response>
</epp>