Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. Domain restore tasks

Domain restore

API reference (XML/JSON) · Updated 2023-09-18

Function

The DomainRestore task restores deleted domains.

Description

Route: PUT /domain/{name}/_restore

{
    "action": "RESTORE_RENEW"
}
{
    "stid": "20190701-app-9791",
    "status": {
        "code": "N0101005",
        "text": "Domain restore was started successfully.",
        "type": "NOTIFY"
    },
    "object": {
        "type": "Domain",
        "value": "example.com"
    },
    "data": [
        {
            "created": "2019-07-01T10:51:27.000+0200",
            "updated": "2019-07-01T10:51:26.000+0200",
            "owner": {
                "context": 4,
                "user": "customer"
            },
            "updater": {
                "context": 4,
                "user": "customer"
            },
            "status": "RUNNING",
            "execution": "2019-07-01T10:51:26.000+0200",
            "id": 4297543154
        }
    ]
}