Undelete domain[Link]
Purpose
to undo the scheduled deletion of a domain name.
As a deletion of a domain name can be scheduled with a delete date in the future, this extension is offered to undo the scheduled deletion.
The undelete command is composed according to the standard EPP syntax. Some components need further explanation:
<domain:name> is required. Is the domain name to undelete, with or without a trailing .be.
Please refer to the examples to see a complete request.
Examples[Link]
A correct undo delete command:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd
urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
<command>
<undelete>
<domain:undelete>
<domain:name>test-domain.be</domain:name>
</domain:undelete>
</undelete>
<clTRID>clientref-00024</clTRID>
</command>
</epp>
After a successful operation, the EPP server will respond with:
<?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>
<clTRID>clientref-00024</clTRID>
<svTRID>dnsbe-2851</svTRID>
</trID>
</response>
</epp>
When you try to undelete a domain name that doesn’t belong to you, the response is:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:dnsbe="http://www.dns.be/xml/epp/dnsbe-1.0">
<response>
<result code="2304">
<msg>Object status prohibits operation</msg>
</result>
<extension>
<dnsbe:ext>
<dnsbe:result>
<dnsbe:msg>Domain [google] does not belong to you</dnsbe:msg>
</dnsbe:result>
</dnsbe:ext>
</extension>
<trID>
<clTRID>undelete-domain-00</clTRID>
<svTRID>dnsbe-741902</svTRID>
</trID>
</response>
</epp>
When you try to undelete a domain name which isn’t scheduled for deletion, the response is:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:dnsbe="http://www.dns.be/xml/epp/dnsbe-1.0">
<response>
<result code="2304">
<msg>Object status prohibits operation</msg>
</result>
<extension>
<dnsbe:ext>
<dnsbe:result>
<dnsbe:msg>Domain [08022008-test] is not scheduled for delete</dnsbe:msg>
</dnsbe:result>
</dnsbe:ext>
</extension>
<trID>
<clTRID>undelete-domain-00</clTRID>
<svTRID>dnsbe-741903</svTRID>
</trID>
</response>
</epp>
Please note that you will receive a hitpoint for the above two errors.