Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Delete Code Artifact changedapi/compliance/code/artifacts/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.

Recorded here
Lines+9added
Lines−14removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits7to this page, all time

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

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Delete Code Artifact
3url: https://platform.claude.com/docs/en/api/compliance/code/artifacts/delete
4---
1# Delete Code Artifact
52 
6## Delete Code Artifact
3**DELETE** `/v1/compliance/apps/code/artifacts/{artifact_id}`
74 
8**delete** `/v1/compliance/apps/code/artifacts/{artifact_id}`
9 
105Permanently deletes a Code Artifact and all its versions. This is a
116destructive operation that cannot be undone. A 200 response means the
127deletion is initiated and the Artifact is claimed; content removal
from line 11
1611organization. Returns 404 on a repeated delete of an already-deleted
1712Artifact.
1813 
19### Path Parameters
14## Path parameters
2015 
2116- `artifact_id: string`
2217 
2318 The Artifact ID (tagged ID, e.g., cart_abc123)
2419 
25### Header Parameters
20## Headers
2621 
2722- `"x-api-key": optional string`
2823 
29### Returns
24## Returns
3025 
3126- `id: string`
3227 
from line 31
3631 
3732 Constant string confirming deletion
3833 
39 - `"code_artifact_deleted"`
34 default: code_artifact_deleted
4035 
41### Example
36## Example
4237 
43```http
38```bash
4439curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID \
4540 -X DELETE \
4641 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
4742```
4843 
49#### Response
44### Response (200)
5045 
5146```json
5247{
Feedback