To enable the Compliance API, see the setup guide.
Set up the Compliance API刪除專案
DELETE/v1/compliance/apps/projects/{project_id}
基於合規目的刪除專案。
硬刪除專案及其所有相關資料,包括:
- 所有專案文件和檔案
- 所有角色指派
- 知識庫(如果已啟用 RAG)
- 同步來源
專案不得有附加的對話——如果存在對話則傳回 409。
Path parameters
Headers
Returns
刪除專案
cURL
curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID \
-X DELETE \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"id": "id",
"type": "claude_project_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "claude_project_deleted"
}