SPB Git

Repository Public

delete.md 1.1 KB 60 lines markdown

1---2title: Delete project3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/delete4---56# Delete project78**DELETE** `/v1/compliance/apps/projects/{project_id}`910Delete a project for compliance purposes.1112Hard-deletes the project and all its associated data including:1314- All project documents and files15- All role assignments16- Knowledge base (if RAG is enabled)17- Sync sources1819Project must have no attached chats - returns 409 if chats exist.2021## Path parameters2223- `project_id: string`2425  The project ID (tagged ID, e.g., claude_proj_abc123)2627## Headers2829- `"x-api-key": optional string`3031## Returns3233- `type: optional "claude_project_deleted"`3435  Constant string confirming deletion.3637  default: claude_project_deleted3839- `id: string`4041  The ID of the Claude project that was deleted4243## Example4445```bash46curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID \47    -X DELETE \48    -H 'anthropic-version: 2023-06-01' \49    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"50```5152### Response (200)5354```json55{56  "id": "id",57  "type": "claude_project_deleted"58}59```60
Files main
Menu

Theme