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

Domain cancelation create

API reference (XML/JSON) · Updated 2025-02-11

Function

The DomainCancelationCreate task creates a domain cancelation.

Description

The keyword description of the domain element can be found on the Cancelation Object page.
The  description of the cancelation status can be found on Cancelation Status Constants page.

Route: POST /domain/{name}/cancelation

{
   "domain": "example.com",
   "disconnect": false,
   "type": "DELETE",
   "execution": "EXPIRE"
}
{
    "stid": "20190701-app3-dev-9689",
    "messages": [
        {
            "text": "The task will be executed at domain expiration.",
            "code": "MSG010315",
            "status": "NOTICE"
        }
    ],
    "status": {
        "code": "N0103101",
        "text": "Domain cancelation task was transmitted.",
        "type": "NOTIFY"
    },
    "object": {
        "type": "DomainCancelation",
        "value": "example.com"
    },
    "data": [
        {
            "created": "2019-07-01T10:44:26.000+0200",
            "updated": "2019-07-01T10:44:26.000+0200",
            "owner": {
                "context": 4,
                "user": "exampleuser"
            },
            "updater": {
                "context": 4,
                "user": "exampleuser"
            },
            "domain": "example.com",
            "registryWhen": "2019-08-17T14:27:31.000+0200",
            "disconnect": false,
            "logId": 245139,
            "type": "DELETE",
            "execution": "EXPIRE"
        }
    ]
}