---
title: "Delete an artifact"
method: DELETE
path: "/api/artifacts/{artifactId}"
tags: ["Artifacts"]
---

# Delete an artifact

`DELETE /api/artifacts/{artifactId}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `x-sixb-csrf`
  - HTTP bearer
  - HTTP bearer

Deletes the artifact with every version.

## Path parameters

- `artifactId` string, required

## Response `200`

Response for status 200

- object
  - `deleted` true, required

## Other responses

- `404`: Response for status 404
- `501`: Response for status 501

## Changes

- **2026-10-20** `ebeab1520daa`: 2 info
  - added the optional property `latest` to the response with the `404` status
  - added the optional property `latest` to the response with the `501` status
- **2026-10-20** `2529bf887ba6`: 2 warning
  - removed the optional property `latest` from the response with the `404` status
  - removed the optional property `latest` from the response with the `501` status
- **2026-10-20** `8df745541b3a`: 2 info
  - added the optional property `latest` to the response with the `404` status
  - added the optional property `latest` to the response with the `501` status
- **2026-10-20** `8c53eb806aa9`: 2 warning
  - removed the optional property `latest` from the response with the `404` status
  - removed the optional property `latest` from the response with the `501` status
- **2026-10-19** `cbf48fec5d17`: 2 info
  - added the optional property `latest` to the response with the `404` status
  - added the optional property `latest` to the response with the `501` status

[Operation history](https://skmtc.dev/sixb-ai/apis/sixb-api/changes/api/artifacts/:artifactId/delete.md)

---

[API](https://skmtc.dev/sixb-ai/apis/sixb-api.md) - [All operations](https://skmtc.dev/sixb-ai/apis/sixb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sixb-ai/apis/sixb-api/revisions/a227d682eaa2?raw)
