---
title: "Public Delete Project"
method: DELETE
path: "/api/v1/public/projects/{project_id}"
tags: ["public-api"]
---

# Public Delete Project

`DELETE /api/v1/public/projects/{project_id}`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/public/projects/{project_id}`
- Auth: none declared

刪除專案及其所有關聯資料（投影片、講稿）。

此操作不可逆。會依序刪除該專案下所有講稿、投影片，最後刪除專案本身。
GCS 上的檔案（圖片、音檔、影片）不會被此端點刪除。

路徑參數：project_id（要刪除的專案 ID）。

回傳 204 No Content，無回應主體。

錯誤：
- 404：專案不存在。
- 403：該專案不屬於目前使用者。

## Path parameters

- `project_id` string, required

## Headers

- `Authorization` string, nullable
- `X-API-Key` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
