---
title: "Delete a project"
method: DELETE
path: "/v1/projects/{project_id}"
tags: ["v1 projects"]
---

# Delete a project

`DELETE /v1/projects/{project_id}`

Delete a project by its ID.
    
    This endpoint:
    - Permanently deletes the project
    - Verifies the authenticated user owns the project
    - Returns confirmation of deletion
    
    **Note**: This action cannot be undone.
    
    **Authentication**: Requires valid API key or JWT token

## Path parameters

- `project_id` string, required

## Query parameters

- `user_id` string, nullable

## Response `200`

Successful Response

- DeleteProjectResponse — Response model for deleting a project
  - `message` string, required — Success message
  - `project_id` string, required — ID of deleted project

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Project not found
- `422` — Validation Error
- `500` — Internal Server Error

## Changes

- **2026-03-09** `0f1ebe150574` — 1 info
  - added the new optional `query` request parameter `user_id`
- **2026-01-21** `1660d0b2cbd9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/elicitlabs/apis/elicit-labs-api/changes/v1/projects/:project_id/delete.md)

---

[API](https://skmtc.dev/elicitlabs/apis/elicit-labs-api.md) · [All operations](https://skmtc.dev/elicitlabs/apis/elicit-labs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elicitlabs/elicit-labs-api/revisions/27701839a070/schema)
