---
title: "Change domain name servers"
method: PUT
path: "/{account}/registrar/domains/{domain}/delegation"
tags: ["registrar delegation"]
---

# Change domain name servers

`PUT /{account}/registrar/domains/{domain}/delegation`

Changes the domain name servers.

## Path parameters

- `account` integer, required
- `domain` string, required

## Request body

- string[]

## Response `200`

Successfully updated the domain name servers.

- object
  - `data` DomainNameServer[]

## Other responses

- `400` — A required parameter is missing or the request is invalid.
- `404` — The requested resource doesn't exist.

---

[API](https://skmtc.net/dnsimple/apis/dnsimple-api.md) · [All operations](https://skmtc.net/dnsimple/apis/dnsimple-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsimple/dnsimple-api/revisions/270bb4f6f532/schema)
