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

Domain renew

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

Function

The DomainRenew task prolongates the registration period of a domain.

Description

Route: PUT /domain/{name}/_renew

The "messages" element is only returned if there was a cancelation order.

{
	"payable":"2020-05-10T14:50:07.5816807Z",
 	"period":{
		"unit":"YEAR",
		"period":1
  	}
}
{
    "stid": "20190701-app2-dev-13910",
    "status": {
        "code": "N0101003",
        "text": "Domain renew has been started successfully.",
        "type": "NOTIFY"
    },
    "object": {
        "type": "Domain",
        "value": "example.com"
    },
	"messages": [
		{
			"text": "The existing cancelation request was cancelled.",
			"code": "MSG01046",
			"status": "NOTICE"
		}
	],
    "data": [
        {
            "created": "2019-07-01T10:16:09.000+0200",
            "updated": "2019-07-01T10:16:08.000+0200",
            "owner": {
                "context": 4,
                "user": "exampleuser"
            },
            "updater": {
                "context": 4,
                "user": "exampleuser"
            },
            "status": "RUNNING",
            "execution": "2019-07-01T10:16:08.000+0200",
            "id": 4297543152
        }
    ]
}