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

Domain status update

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

Function

The DomainStatusUpdate task sets the status of a domain. So you can protect the domain from transfers. This is only possible for gTLDs. Note that some registries do not support all statuses. The possible statuses are specified in the RegistryStatusConstants enum.

Description


Route: PUT /domain/{name}/_statusUpdate

{
    "registryStatus": "LOCK"
}
{
  "status" : {
    "code" : "N0102002",
    "text" : "Domain status update has been started successfully.",
    "type" : "NOTIFY"
  },
  "object" : {
    "type" : "Domain",
    "value" : "example.com"
  },
  "data" : [ {
    "owner" : {
      "context" : 4,
      "user" : "customer"
    },
    "updater" : {
      "context" : 4,
      "user" : "customer"
    },
    "execution" : "2020-06-29T11:39:25.823+0200",
    "id" : 2697604
  } ]
}