Metaregistrar EPP documentation

All DNS commands: (info) (create) (delete) (update) (dnssec)

DNS delete

When a domain name no longer has to be in the DNS, you can use this command to completely remove a domain name from the DNS system.

Please do not use this command when you only want to remove one DNS record: Use the dns-update command to accomplish this.

Example dns delete command

<?xml version="1.0" encoding="UTF-8"?> <epp> <command> <delete> <dns-ext:delete xmlns:dns-ext="http://www.metaregistrar.com/epp/dns-ext-1.0"> <dns-ext:name>docu-test-case.nl</dns-ext:name> </dns-ext:delete> </delete> </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_593cfba72759c9404735ad7427ff5f07e60ce64f762f</svTRID> </trID> </response> </epp>

If you try to delete a domain name that is not currently in the DNS, 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; The domain utiagfmg8wqpxpz8r520.frl does not have a zone.</msg> </result> <trID> <svTRID>MTR_cce62f392304efb6754c810d6e25913633fa555bd6f7</svTRID> </trID> </response> </epp>

If you try to delete a domain name that is registered to another client of Metaregistrar, 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="2201"> <msg>Authorization error; Domain is not yours</msg> </result> </response> </epp>