---
title: "Delete"
method: DELETE
path: "/projects/{nameOrId}"
tags: ["projects"]
---

# Delete

`DELETE /projects/{nameOrId}`

Deletes a project by name or ID.

## Path parameters

- `nameOrId` string, required

## Headers

- `Authorization` string, required

## Response `200`

Success response

- ProjectsDeleteResponse200
  - `success` boolean, required — Whether the project was deleted successfully.

## Other responses

- `401` — Unauthorized (authentication missing or invalid)
- `403` — Forbidden
- `404` — Project not found
- `409` — Cannot delete the last project in a workspace
- `500` — Internal server error

---

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