All domain commands: (check) (create) (delete) (info) (modify) (transfer) (renew) (undelete) (privacy) (autorenew)
For those registries that do autorenew domain names, you may have to manually delete a domain name when the client does not want it any more.
Every domain:delete command is executed immediately. That means that a domain name is placed into quarantine for a number of days. The exact number of days depends on the registry of the domain name in question. Most registries use 40 days for this period, and call it 'the quarantine period'.
In this period the domain is not useable any more. When a client still uses this domain name, this will be te point that he or she is alerted to the fact that the domain name is deleted.
To undo a domain:delete command, use the domain:restore example provided.
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<command>
<delete>
<domain:delete>
<domain:name>docu-test-case-2.nl</domain:name>
</domain:delete>
</delete>
<clTRID>57d02cda24f91</clTRID>
</command>
</epp>
You will receive a confirmation the domain deletion was succesful.
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<trID>
<svTRID>MTR_5964b6b9696d36b92a274992719cdc07210125f7</svTRID>
<clTRID>57d02cda24f91</clTRID>
</trID>
</response>
</epp>
If you try to delete a domain name that is not registered, the following response can be expected
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="2303">
<msg>Object does not exist</msg>
</result>
<trID>
<svTRID>MTR_3fb67969a7be4ed4bcf2d3f3637c39ee2c64d11a</svTRID>
<clTRID>57d02d4c450e3</clTRID>
</trID>
</response>
</epp>