Metaregistrar EPP documentation

All contact commands: (check) (create) (delete) (info) (modify)

Deleting a contact object

You may delete a contact when the client does not want it any more and when it is not associated to domain names.

We highly recommend deleting contacts that are not used any more, to keep the systems clean and fast-responding.

Every contact:delete command is executed immediately. Only one contact id is allowed per <delete> command.

Example : Deleting a contact

<?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"> <command> <delete> <contact:delete> <contact:id>RP01cbpxbz4RX9tvvuDmSNCE</contact:id> </contact:delete> </delete> <clTRID>57c42e98a4acd</clTRID> </command> </epp>

You will receive a confirmation the contact deletion was succesful. <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <trID> <svTRID>MTR_4e6c97d6c224b73587a823566c9d8653b715b3c5</svTRID> <clTRID>57c42e98a4acd</clTRID> </trID> </response> </epp>

When the contact that you are trying to delete is still connected to one or more domain names, the deletion of the contact is not successful an you will receive an error message.