Metaregistrar EPP documentation

All domain commands: (check) (create) (delete) (info) (modify) (transfer) (renew) (undelete) (privacy) (autorenew)

Domain restore(undelete)

A domain name that is deleted, goes into quarantine for a number of days. How many days depends on the registry of the domain name.

While in quarantine, the domain name may be restored into full service. Use the command herunder to accomplish this.

To restore a domain you need to use the update command in combination with the RGP (Registry Grace Period) extension.


Example domain restore

<?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" xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0"> <command> <update> <domain:update> <domain:name>docu-test-case-6.nl</domain:name> </domain:update> </update> <extension> <rgp:update> <rgp:restore op="request"></rgp:restore> </rgp:update> </extension> <clTRID>57d02497e8c61</clTRID> </command> </epp>

Example restore response

<?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1000"> <msg>Command completed succesfully</msg> </result> <extension xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0"> <rgp:upData> <rgp:rgpStatus s="pendingRestore"></rgp:rgpStatus> </rgp:upData> </extension> <trID> <svTRID>MTR_3f8f2bef0ff431652cbbb438a5debe1eca4ce137</svTRID> <clTRID>57d02497e8c61</clTRID> </trID> </response> </epp>

When the domain name is active (and not in quarantine) expect this message: <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="2304"> <msg>Object status prohibits operation; The domain is not pending delete</msg> </result> <trID> <svTRID>MTR_7d657d3b46eea6a0e435c5a04c8b65d9b7106d75</svTRID> <clTRID>57d0168bf0922</clTRID> </trID> </response> </epp>