Source Intelligence
Sweep 28 Aug 2026 ยท 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Page history

Delete Code Artifact

api/compliance/code/artifacts/delete

2 recorded changes 51 lines First seen Last changed Upstream

History

api/compliance/code/artifacts/delete Changed · +9 / -14 lines

# Delete Code Artifact ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Delete Code Artifact ### Path Parameters ### Header Parameters ### Returns ### Example #### Response

from line 1
----
-title: Delete Code Artifact
-url: https://platform.claude.com/docs/en/api/compliance/code/artifacts/delete
----
+# Delete Code Artifact
 
-## Delete Code Artifact
+**DELETE** `/v1/compliance/apps/code/artifacts/{artifact_id}`
 
-**delete** `/v1/compliance/apps/code/artifacts/{artifact_id}`
-
 Permanently deletes a Code Artifact and all its versions. This is a
 destructive operation that cannot be undone. A 200 response means the
 deletion is initiated and the Artifact is claimed; content removal
from line 11
 organization. Returns 404 on a repeated delete of an already-deleted
 Artifact.
 
-### Path Parameters
+## Path parameters
 
 - `artifact_id: string`
 
   The Artifact ID (tagged ID, e.g., cart_abc123)
 
-### Header Parameters
+## Headers
 
 - `"x-api-key": optional string`
 
-### Returns
+## Returns
 
 - `id: string`
 
from line 31
 
   Constant string confirming deletion
 
-  - `"code_artifact_deleted"`
+  default: code_artifact_deleted
 
-### Example
+## Example
 
-```http
+```bash
 curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID \
     -X DELETE \
     -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
 ```
 
-#### Response
+### Response (200)
 
 ```json
 {

api/compliance/code/artifacts/delete First recorded · 56 lines, first recorded

## Delete Code Artifact ### Path Parameters ### Header Parameters ### Returns ### Example #### Response

The first capture of this source. The page was already there, and this is what it said.

---
title: Delete Code Artifact
url: https://platform.claude.com/docs/en/api/compliance/code/artifacts/delete
---

## Delete Code Artifact

**delete** `/v1/compliance/apps/code/artifacts/{artifact_id}`

Permanently deletes a Code Artifact and all its versions. This is a
destructive operation that cannot be undone. A 200 response means the
deletion is initiated and the Artifact is claimed; content removal
completes asynchronously.

Returns 404 for Artifacts that don't exist or belong to another parent
organization. Returns 404 on a repeated delete of an already-deleted
Artifact.

### Path Parameters

- `artifact_id: string`

  The Artifact ID (tagged ID, e.g., cart_abc123)

### Header Parameters

- `"x-api-key": optional string`

### Returns

- `id: string`

  The ID of the Artifact that was deleted

- `type: "code_artifact_deleted"`

  Constant string confirming deletion

  - `"code_artifact_deleted"`

### Example

```http
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID \
    -X DELETE \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

#### Response

```json
{
  "id": "cart_xyz789",
  "type": "code_artifact_deleted"
}
```