nameserver set

Replaces a specific nameserver set.

This endpoint replaces a specific nameserver set, streamlining updates to the DNS environment without manual reconfiguration.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 200 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns 400 and 404 error codes with clear descriptions when requests fail.</br>- Reliable nameserver set replacements: Facilitates the modification of a specific nameserver set, ensuring accurate and up-to-date information across the system.</br>- Targeted data replacements: Leverages the id parameter in the URL path to replace the specified nameserver set, ensuring accurate and focused modifications.

put/nameserversets/{id}

Request

Path parameters

idinteger required
Example:6

Filters nameserver sets by the specified identifier.

Request body

namestring required

The name of the nameserver set

isDefaultboolean

Whether this is the default nameserver set

resourceGroupsIdsinteger[] required

List of associated resource group IDs

Example request

{
  "name": "Example nameserver Set",
  "isDefault": true,
  "nameservers": [
    {
      "fqdn": "example.ns1.com"
    }
  ],
  "resourceGroupsIds": [
    1
  ]
}

Response

Nameserver set replaced successfully.

idinteger
namestring
isSystemboolean
isDefaultboolean
domainsobject[]
createdTsstring date-time
modifiedTsstring date-time

Example response

{
  "id": 8,
  "name": "Example nameserver Set",
  "isDefault": true,
  "nameservers": [
    {
      "id": 32,
      "fqdn": "digicert.ns1.com",
      "ipv4": "156.154.65.222",
      "ipv6": "2610:a1:1014::102",
      "vanityNameserverFQDN": "ns1.custom.com",
      "createdTs": "2025-07-28T10:07:29.708871187Z",
      "modifiedTs": "2025-07-28T10:07:29.708871423Z"
    }
  ],
  "domains": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "example": 1
        },
        "name": {
          "type": "string",
          "example": "example.com"
        }
      }
    }
  ],
  "resourceGroups": [
    {
      "id": 2,
      "name": "Default"
    }
  ],
  "createdTs": "2025-07-28T10:07:29.725434Z",
  "modifiedTs": "2025-07-28T10:07:29.725452Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.