---
title: "Update Nameservers"
method: PUT
path: "/2/domains/{domain}/nameservers"
tags: ["Domain > Nameservers"]
deprecated: true
---

# Update Nameservers

`PUT /2/domains/{domain}/nameservers`

> **Deprecated.**

Update Domain's Nameservers

## Path parameters

- `domain` string, required

## Request body

- object
  - `nameservers` string[] — Required without use_infomaniak_ns parameter. Array of nameservers to use for the domain
  - `use_infomaniak_ns` boolean — Required without nameservers parameter. Use Infomaniak nameservers for the domain
  - `verify_ns_availability` boolean — Verify ensure that the new nameservers are functional before making any changes. Default: false

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
