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

# Delegate to vanity name servers

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

Delegate a domain to vanity name servers.

## Path parameters

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

## Request body

- string[]

## Response `200`

Successfully delegated to vanity name servers.

- object
  - `data` NameServer[], required
    - `id` integer, required
    - `name` string, required
    - `ipv4` string, required
    - `ipv6` string, required
    - `created_at` string, date-time, required — A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time, required — A date-time value, representing when the entry was last updated, formatted as ISO 8601.

## Other responses

- `400` — A required parameter is missing or the request is invalid.
- `404` — The requested resource doesn't exist.
- `412` — Feature is not available on your plan.

## Changes

- **2025-07-11** (v2) `06780be0ef17` — 10 info
  - the response property `data` became required for the status `200`
  - the response property `data/items/created_at` became required for the status `200`
  - the response property `data/items/id` became required for the status `200`
  - the response property `data/items/ipv4` became required for the status `200`
  - …6 more
- **2023-07-18** (v2) `c8591dcf8c29` — 10 breaking
  - the response property `data` became optional for the status `200`
  - the response property `data/items/created_at` became optional for the status `200`
  - the response property `data/items/id` became optional for the status `200`
  - the response property `data/items/ipv4` became optional for the status `200`
  - …6 more

[Change history](https://skmtc.dev/dnsimple/apis/dnsimple-api/changes/:account/registrar/domains/:domain/delegation/vanity/put.md)

---

[API](https://skmtc.dev/dnsimple/apis/dnsimple-api.md) · [All operations](https://skmtc.dev/dnsimple/apis/dnsimple-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dnsimple/apis/dnsimple-api/revisions/faec8b49cc03?raw)
