api access

External API

  1. Home › 
  2. API Access

Change host

The command updates slave host data

Fully qualified domain name FQDN

Current name of the host

New host name

New list of IP addresses

Indicates whether the request has been completed or queued for processing

HTTP ENDPOINT
PATCH /v1/hosts/:domain/:host
EXAMPLE REQUEST: PATCH /v1/hosts/example.com/ns1
{
    "name": "new-name",
    "addresses": ["192.168.0.2"]
}
EXAMPLE RESPONSE: HTTP 200 OK
{
    "pending": false
}