---
title: "Delete a project by ID or name"
method: DELETE
path: "/org/projects/{id_or_name}"
tags: ["Projects"]
---

# Delete a project by ID or name

`DELETE /org/projects/{id_or_name}`

Soft-delete a project. The project must be empty (no active resources).

## Path parameters

- `id_or_name` string, required

## Response `204`

Project deleted

## Other responses

- `400` — Bad Request – invalid input
- `401` — Unauthorized – missing or invalid authorization token
- `403` — Forbidden – insufficient permissions or plan
- `404` — Resource not found
- `409` — Project deletion conflict. Returns `project_not_empty` when active resources remain; remove them and retry. Returns `last_active_project` when deletion would remove the organization's final active project.
- `500` — Internal Server Error

---

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