---
title: "Delete a Project"
method: DELETE
path: "/v9/projects/{idOrName}"
tags: ["projects"]
---

# Delete a Project

`DELETE /v9/projects/{idOrName}`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v9/projects/{idOrName}`
- Auth: HTTP bearer

Delete a specific project by passing either the project `id` or `name` in the URL.

## Path parameters

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

## Query parameters

- `teamId` string
- `slug` string

## Response `204`

The project was successfuly removed

## 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-09-30** `099fbe1f521c`: 1 info
  - added the non-success response with the status `404`
- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2025-03-19** `37b482c58c92`: 3 info
  - added the new optional `query` request parameter `slug`
  - added the non-success response with the status `401`
  - removed the non-success response with the status `404`
- **2022-12-06** `8eb562567170`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v9/projects/:idOrName/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)
