v1

latestSwagger 2.02026-08-041113661.2 MB
NsGroupService

Update group

put/v1beta/dns/nameservers/groups/{ns_group}

Path parameters

ns_groupstring required

Plain text name of the nameserver group, which can consist of several nameservers with attached IPs. Once created in Openprovider reseller account, nameserver group can be reused for operations with domains.

Request body

ns_groupstring

Plain text name of the nameserver group, which can consist of several nameservers with attached IPs. Once created in Openprovider reseller account, nameserver group can be reused for operations with domains.

Example request

{
  "name_servers": [
    {
      "id": 0,
      "ip": "127.0.0.1",
      "ip6": "0001:0001:0001:0001:0001:0001:0001:0001",
      "name": "ns1.domain.com",
      "seq_nr": 0
    }
  ],
  "ns_group": "MyGroup"
}

Response

A successful response.

codeinteger
descstring
maintenanceboolean

Example response

{
  "code": 0,
  "data": {
    "success": false
  },
  "desc": ""
}