> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memorylake.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 删除项目

> 永久删除项目及其所有关联数据

```
DELETE /openapi/memorylake/api/v1/projects/{id}
```

<Warning>
  此操作为破坏性操作。项目及其所有关联数据将被永久删除。
</Warning>

<Note>
  **所需权限：** [`project:delete`](/features/team-collaboration/permission-reference#删除项目) · `instance`
</Note>

### 路径参数

<ParamField path="id" type="string" required>
  项目 ID
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'https://app.memorylake.cn/openapi/memorylake/api/v1/projects/proj-a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6' \
    -H 'Authorization: Bearer sk_xxxxxx'
  ```
</RequestExample>

### 响应

<ResponseField name="success" type="boolean">表示请求是否成功</ResponseField>
<ResponseField name="message" type="string">人类可读的状态消息</ResponseField>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "success": true,
    "message": "Project deleted successfully"
  }
  ```
</ResponseExample>
