Delete project
api/compliance/apps/projects/delete
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/compliance/apps/projects/delete Changed · +9 / -14 lines
# Delete project ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Delete project ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Delete project -url: https://platform.claude.com/docs/en/api/compliance/apps/projects/delete ---- +# Delete project -## Delete project +**DELETE** `/v1/compliance/apps/projects/{project_id}` -**delete** `/v1/compliance/apps/projects/{project_id}` - Delete a project for compliance purposes. Hard-deletes the project and all its associated data including:
Project must have no attached chats - returns 409 if chats exist. -### Path Parameters +## Path parameters - `project_id: string` The project ID (tagged ID, e.g., claude_proj_abc123) -### Header Parameters +## Headers - `"x-api-key": optional string` -### Returns +## Returns - `id: string`
Constant string confirming deletion. - - `"claude_project_deleted"` + default: claude_project_deleted -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID \ -X DELETE \ -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY" ``` -#### Response +### Response (200) ```json {