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>:

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

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

Tags occurrence table⚓

Tag Occurrences
(MIN-MAX)
Size + Remarks
<epp> 1
<command> 1
<delete> 1
<contact:delete> 1
<contact:id> 1 Must be an existing contact handle, belonging to the requesting AR. Only domain contacts can be deleted. There are 2 viable structures: 1. XX-XX#-IL, where XX represents the 2 capital letters representing the regisrar, and # represents a string of numbers; 2. 3 characters of capital letters or hyphen, followed by numbers. Total length may not exceed 30 characters.
<clTRID> 1 Must start with 2 capital letters representing the registrar, followed by a hyphen (-) and a string of numbers. Must be unique per request. Total length may not exceed 30 characters.

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</code>
            <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.