---
title: "Remove a domain by name"
method: DELETE
path: "/v6/domains/{domain}"
tags: ["domains"]
---

# Remove a domain by name

`DELETE /v6/domains/{domain}`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v6/domains/{domain}`
- Auth: HTTP bearer

Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.

## Path parameters

- `domain` string, required: The name of the domain.

## Query parameters

- `teamId` string
- `slug` string

## Response `200`

Successful response removing a domain.

- object
  - `uid` string, required

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `403`: You do not have permission to access this resource.
- `404`
- `409`
- `410`

## Changes

- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2025-03-19** `37b482c58c92`: 2 info
  - added the new optional `query` request parameter `slug`
  - added the non-success response with the status `401`

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v6/domains/:domain/delete.md)

---

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