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

Domain prereg delete

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

Function

The DomainPreregDelete task deletes a preregistration for a domain. This is possible only if the domain has one of the following statuses:

  • OPEN
  • PENDING
  • FAILED
  • AUTO_CANCEL
  • ACCEPT
  • INVALID_NAME
  • DECLINE
  • CANCEL
  • TMCH_CLAIM_REJECTED
  • TMCH_CLAIM_EXPIRED
  • TMCH_CLAIM_FAILED
  • FAILED_REF

You can delete a preregistered domain by specifying the domain name and the preregistration phase or by specifying the order reference. You can determine the order number by a DomainPreregInfo query.

Description

Route: DELETE /domainPrereg/{reference}

There is no need to send a body.

{
    "stid": "20210826-app-114113",
    "status": {
        "code": "S0110003",
        "text": "Preregistration was deleted successfully. ",
        "type": "SUCCESS"
    },
    "object": {
        "type": "DomainPrereg",
        "value": "example.web",
        "data": {
            "name": "example.web",
            "orderReference": "478f63e4-d993"
        }
    }
}