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

Domain cancelation update

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

Function

The DomainCancelationUpdate task updates a cancelation job. You can use this job type to change e.g. the type (DELETE, TRANSIT,PREACK) or the execution time.

Behavior with existing AuthInfo

When processing a cancelation request of the type PREACK, an existing AuthInfo1 is always deleted, regardless of what is changed. If the new order is again of the type PREACK, then a new AuthInfo1 is automatically created.

Description

Route: PUT /domain/{name}/cancelation

{
    "domain": "example.com",
    "type": "DELETE",
    "execution": "DATE",
    "registryWhen": "2020-01-09T12:00:00",
	"disconnect": true
}
{
    "stid": "20190701-app3-dev-9615",
    "messages": [
        {
            "text": "The task will be executed at the given date.",
            "code": "MSG010316",
            "status": "NOTICE"
        }
    ],
    "status": {
        "code": "S0103102",
        "text": "Domain cancelation was updated successfully.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "DomainCancelation",
        "value": "example.com"
    },
    "data": [
        {
            "created": "2019-07-01T10:38:56.000+0200",
            "updated": "2019-07-01T10:38:56.000+0200",
            "owner": {
                "context": 4,
                "user": "customer"
            },
            "updater": {
                "context": 4,
                "user": "customer"
            },
            "domain": "example.com",
            "registryWhen": "2020-01-09T12:00:00.000+0100",
            "disconnect": false,
            "logId": 245138,
            "type": "DELETE",
            "execution": "DATE"
        }
    ]
}