Skip to content

Delete

Purpose

Delete a Contact Object.

Authority

Only the Managing AR can delete Contact Objects under his management.

Condition for deletion

Only Contact Objects that are not included in any Domain Name Record ("orphans") can be deleted.
Attempting to delete a Contact Object that is included in at least one Domain Name Record will result in an error.

Result

Upon a successful deletion of a Contact Object can not be used in any subsequent request. The deleted Contact Object can not be restored.

Code Example

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:isocil="http://www.isoc.org.il/xml/epp/isocil-1.0"
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd
http://www.isoc.org.il/xml/epp/isocil-1.0 isocil-1.0.xsd
urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd">
    <command>
        <delete>
            <contact:delete>
                <contact:id>AB-SR5933-IL</contact:id>
            </contact:delete>
        </delete>
        <clTRID>AB-123002</clTRID>
    </command>
</epp>

Legend

  • <contact:delete> ... </contact:delete>:

    Defines that the desired Registration Action, delete a Contact Object, where:

    • <contact:id>...</contact:id>: The deleted Contact's Handle.
    • <clTRID> ... </clTRID>: AR's transaction identifier

Tags occurance table

Tag Occurrences
(MIN-MAX)
Size + Remarks
<epp> 1
<command> 1
<delete> 1
<contact:delete> 1
<contact:id> 1 Valid Handle
<clTRID> 1 token: 4-64

Additional Response Data (<resData> block)

The Server's response upon the successful completion of delete contact Request:

<?xml version="1.0" encoding="UTF-8"?>
<epp>
    <response>
        <result code="1000">
            <msg>Command completed successfully (contact requestid=C82)</msg>
        </result>
        <resData>
            <contact:delData>
                <contact:id>SS-AM11639-IL</contact:id>
                <contact:crDate>2005-10-31T11:25:00.000Z</contact:crDate>
            </contact:delData>
        </resData>
        <trID>
            <clTRID>SS-5</clTRID>
            <svTRID>ISOCIL-SS37 20051031112800</svTRID>
        </trID>
    </response>
</epp>

Legend - SUCCESS message response

  • <contact:delData>: Information on the deletion of the Contact Object, where:
    • <contact:id>: Specifies the Contact's Handle.
    • <contact:creDate>: Specifies the creation time of the Contact Object, in XML dateTime format.