---
title: "Laufende Domain-Kündigungen abbrechen"
url: "https://help.internetx.com/de/api/epp-laufende-domain-kuendigungen-abbrechen/"
lang: "de"
section: "API-Referenz — EPP-API"
breadcrumb: "EPP-API-Guides"
updated: "2023-09-11"
---

# Laufende Domain-Kündigungen abbrechen

Das Abbrechen einer noch nicht ausgeführten terminierten Domain-Kündigung erfordert zwei Schritte, die Abfrage der Domain-Daten für das Ermitteln des Ablaufdatums und das Abbrechen der Domain-Laufzeit mit Angabe des Ablaufdatums. Eine terminierte Domain-Kündigung kann, solange sie noch nicht ausgeführt wurde, jederzeit abgebrochen werden.

## Ablaufdatum der Domain abfragen

Das benötigte Ablaufdatum wird über das Kommando [DomainInfo](/de/api/epp-domain-info/) abgefragt. Es ist in der Systemantwort im Tag `exDate` enthalten.

```
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
    <command>
        <info>
            <domain:info xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
                <domain:name hosts="all">domain.com</domain:name>
            </domain:info>
        </info>
        <clTRID>ABC-12345</clTRID>
    </command>
</epp>
```

```
<epp xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
    <response>
        <result code="1000">
            <msg lang="en">Command completed successfully</msg>
        </result>
        <resData>
            <domain:infData>
                <domain:name>domain.com</domain:name>
                <domain:roid>11109997-domain.com</domain:roid>
                <domain:registrant>23022508</domain:registrant>
                <domain:contact type="admin">23022508</domain:contact>
                <domain:status s="pendingDelete" lang="en">RGP end of phase: 2018-07-31T08:47:27.000Z</domain:status>
                <domain:contact type="tech">23022508</domain:contact>
                <domain:ns>
                    <domain:hostAttr>
                        <domain:hostName>ns1.nameserver.com</domain:hostName>
                    </domain:hostAttr>
                    <domain:hostAttr>
                        <domain:hostName>ns2.nameserver.com</domain:hostName>
                    </domain:hostAttr>
                </domain:ns>
                <domain:clID>user1, 4</domain:clID>
                <domain:crID>user1, 4</domain:crID>
                <domain:crDate>2017-07-31T14:44:41.000Z</domain:crDate>
                <domain:upID>user1, 4</domain:upID>
                <domain:upDate>2017-07-31T09:06:49.000Z</domain:upDate>
                <domain:exDate>2018-07-31T14:44:41.000Z</domain:exDate>
                <domain:authInfo>
                    <domain:pw>123ABC456DEF</domain:pw>
                </domain:authInfo>
            </domain:infData>
        </resData>
        <extension>
            <domainrobot:domain xmlns:domainrobot="urn:org:domainrobot:ns:ext-1.0">
                <domainrobot:zonec>23022508</domainrobot:zonec>
                <domainrobot:trustee>0</domainrobot:trustee>
                <domainrobot:privacy>0</domainrobot:privacy>
            </domainrobot:domain>
        </extension>
        <trID>
            <clTRID>ABC-12345</clTRID>
        </trID>
    </response>
</epp>
```

## Laufende Kündigung abbrechen

Für das Abbrechen des Kündigungsauftrages verwendest du das Kommando [DomainRenew](/de/api/epp-domain-renew/).  Wichtig ist hierbei, dass die `period` auf 0 gesetzt wird. Das Ablaufdatum `exDate` wird im Tag `curExpDate` gesetzt.

Ist die Angabe der Periode (`period`)  größer als 0, so wird die Laufzeit der Domain verlängert.

```
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
    <command>
        <renew>
            <domain:renew xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
                <domain:name>domain.com</domain:name>
                <domain:curExpDate>2020-05-22</domain:curExpDate>
                <domain:period unit="y">0</domain:period>
            </domain:renew>
        </renew>
        <clTRID>ABC-12345</clTRID>
    </command>
</epp>
```

```
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
    <response>
        <result code="1001">
            <msg lang="en">Command completed successfully</msg>
        </result>
        <resData>
            <domain:renData>
                <domain:name>domain.com</domain:name>
            </domain:renData>
        </resData>
        <extension />
        <trID>
            <clTRID>ABC-12345</clTRID>
        </trID>
    </response>
</epp>
```
