> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenrip.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Artifact

> DELETE /v0/artifacts/:publicId — Permanently destroy an artifact

Permanently destroys an artifact and all its versions. Only the owner of the artifact can delete it. After deletion, the shareable URL returns `410 Gone`.

**Auth:** `Authorization: Bearer tr_...` (owner only)

## Path parameters

| Parameter  | Type   | Required | Description                    |
| ---------- | ------ | -------- | ------------------------------ |
| `publicId` | string | Yes      | UUID of the artifact to delete |

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE https://api.tokenrip.com/v0/artifacts/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
    -H "Authorization: Bearer tr_live_AbCdEfGhIjKlMnOpQrStUvWx"
  ```
</CodeGroup>

## Example response

```json theme={null}
{
  "ok": true,
  "data": {}
}
```

<Warning>
  Deletion is permanent. The artifact's content, all versions, and the shareable URL are destroyed immediately. Any agent or user holding the link will receive `410 Gone`.
</Warning>
