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

Domain restore list

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

Function

The DomainRestoreList task displays a list of deleted domains that can be restored.

Note that only domains with the value RESTORE_ARGP (= Auto Renew Grace Period) can be restored for free at "Action". When restoring domains with the value RESTORE costs arise, which you can find in the current price list.

Description

Route: POST /domain/restore/_search

Query parameters

The data of the following keywords can be queried with the query parameter ?keys[]=:

  • adminc
  • authinfo
  • nserver
  • ownerc
  • payable
  • registry_status
  • techc
  • zonec
{
	"filters": [
		{
			"key": "name",
			"value": "h*",
			"operator": "LIKE",
			"link": "AND",
			"filters": [
			]
		}
	],
	"view": {
		"limit": 10,
		"offset": 0,
		"children": true,
		"from": "2018-06-01T14:31:33.6306444Z",
		"to": "2019-05-17T16:05:33.6306444Z"
	},
	"orders": [
		{
			"key": "name",
			"ins": [
				"ins"
			],
			"type": "DESC"
		}
	]
}
{
    "stid": "20190628-app-11949",
    "status": {
        "code": "S0105005",
        "text": "The restorable domains could be inquired successfully.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "DomainRestore",
        "summary": 3
    },
    "data": [
        {
            "created": "2018-07-04T12:28:25.000+0200",
            "owner": {
                "context": 4,
                "user": "customer"
            },
            "name": "example.com",
            "deleted": "2019-07-05T01:59:59.000+0200",  
            "restorePhaseEnd": "2019-07-04T12:28:25.000+0200",
            "expire": "2019-07-04T12:28:25.000+0200",
            "action": "RESTORE"
        },
        {
            "created": "2018-07-04T11:35:22.000+0200",
            "owner": {
                "context": 4,
                "user": "customer"
            },
            "name": "example.org",
            "restorePhaseEnd": "2019-07-04T11:35:22.000+0200",
            "expire": "2019-07-04T11:35:22.000+0200",
            "action": "RESTORE_NE"
        },
        {
            "created": "2018-07-04T09:32:20.000+0200",
            "owner": {
                "context": 4,
                "user": "customer"
            },
            "name": "example2.com",
            "deleted": "2019-07-05T01:59:59.000+0200", 
            "restorePhaseEnd": "2019-07-05T01:59:59.000+0200",
            "expire": "2019-07-05T01:59:59.000+0200",
            "action": "RESTORE_NE"
        }
    ]
}