# domainRESTORE Request

Function

This request is used to re-activate a domain.

Requirements

The request can only be processed if the status of the domain is „redemptionPeriod“ and if the domain is administered by the RegAcc that submits the request.

If the domain shall be restored by another RegAcc, you must first request an AuthInfo2 for the domain. Afterwards, the domain can be restored by a CHPROV request containing the AuthInfo2.

Features

If prior to it´s deletion the status of the domain has been “failed”, a new expire date of 30 days from the day of the RESTORE will be set.

Verification

- A domain that was deleted due to unverified contact data will not receive a Redemption Grace Period.

- This is to prevent the domain from being restored via a Domain RESTORE request with unverified contact data.

- A Domain RESTORE without an AuthInfo is still possible with contacts without a phone number.

Request Parameters

A RESTORE request is composed of the "Domain" data object fields and some other parameters, which are described below:

K/V Keyword | XML Namespace and Element | Occurrence min - max | Type / Length | Value Range | Description
--- | --- | --- | --- | --- | ---
Action | domain:restore | 1 | enumeration | restore-erule | This is the request type.
Version | - | 1 | enumeration | version-erule | This is the version. The keyword is only relevant for requests in the key/value format.
CtId | ctid | 0 - 1 | token 3 - 64 | Any visible Unicode character (according to Unicode version 3.1) | This is the unique transaction ID which is issued by the client.
Domain | domain:handle | 1 | token 4 - 66 | domain-rule | Name of the Domain

Common Mistakes

The domain stated in the request is not in the Redemption Grace Period.

## Examples

- xml
- k/v

Copy

format: xml
request: domainRESTORE

    1
    2
    3
    4
    5
    6
    7
    8
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <registry-request xmlns="http://registry.denic.de/global/5.0" xmlns:domain="http://registry.denic.de/domain/5.0">
      <domain:restore>
      <domain:handle>de-example.de</domain:handle>
      </domain:restore>
      <ctid>cba-987654321</ctid>
    </registry-request>

Copy

format: xml
response: domainRESTORE

    1
    2
    3
    4
    5
    6
    7
    8
    9
    <?xml version="1.0" encoding="UTF-8"?>

    <registry-response xmlns="http://registry.denic.de/global/5.0" xmlns:tr="http://registry.denic.de/transaction/5.0">
      <tr:transaction>
        <tr:stid>538f1687-963a-11df-a9e2-9519b5688882</tr:stid>
        <tr:ctid>cba-98765431</tr:ctid>
        <tr:result>success</tr:result>
      </tr:transaction>
    </registry-response>

Copy

format: k/v
request: domainRESTORE

    1
    2
    3
    4
    Version: 5.0
    Action: restore
    CTID: cba-987654321
    Domain: de-example.de

Copy

format: k/v
response: domainRESTORE

    1
    2
    3
    Result: success
    STID: 1aba2fc0-9625-11df-a9e2-9519b5688882
    CTID: cba-987654321