---
title: "Remove a domain from a project"
method: DELETE
path: "/v9/projects/{idOrName}/domains/{domain}"
tags: ["projects"]
---

# Remove a domain from a project

`DELETE /v9/projects/{idOrName}/domains/{domain}`

Remove a domain from a project by passing the domain name and by specifying the project by either passing the project `id` or `name` in the URL.

## Path parameters

- `idOrName` string, required — The unique project identifier or the project name
- `domain` string, required — The project domain name

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `removeRedirects` boolean — Whether to remove all domains from this project that redirect to the domain being removed.

## Response `200`

The domain was succesfully removed from the project

- object

## Other responses

- `400` — One of the provided values in the request body is invalid. 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` — The project is currently being transferred
- `410`

## Changes

> 39 revisions in range; 24 could not be searched.

- **2026-07-21** `2ae10ee9d21c` — 1 info
  - added the non-success response with the status `410`

[Change history](https://skmtc.dev/vercel/apis/api/changes/v9/projects/:idOrName/domains/:domain/delete.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) · [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/api/revisions/4191ba96b0c1/schema)
