---
title: "Delete Artifact"
method: DELETE
path: "/registry/{registry_ref}/artifact/{artifact}"
tags: ["Artifacts"]
---

# Delete Artifact

`DELETE /registry/{registry_ref}/artifact/{artifact}`

Delete Artifact.

## Path parameters

- `registry_ref` string, required
- `artifact` string, required

## Query parameters

- `artifact_type` 'model' | 'dataset'

## Response `200`

Success Response

- object
  - `status` 'SUCCESS' | 'FAILURE' | 'ERROR', required — Indicates if the request was successful or not

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `403` — Unauthorized
- `404` — The specified resource was not found
- `500` — Internal server error

## Changes

- **2025-08-07** `821be84493dd` — 2 breaking, 2 info
  - removed the enum value `DATASET` from the `query` request parameter `artifact_type`
  - removed the enum value `MODEL` from the `query` request parameter `artifact_type`
  - added the new enum value `dataset` to the `query` request parameter `artifact_type`
  - added the new enum value `model` to the `query` request parameter `artifact_type`
- **2025-08-04** `c95e57236992` — 1 info
  - added the new optional `query` request parameter `artifact_type`
- **2024-10-23** `7fa72da6b8aa` — 1 warning
  - deleted the `query` request parameter `artifact_type`

[Change history](https://skmtc.dev/harness/apis/harness-artifact-registry-api/changes/registry/:registry_ref/artifact/:artifact/delete.md)

---

[API](https://skmtc.dev/harness/apis/harness-artifact-registry-api.md) · [All operations](https://skmtc.dev/harness/apis/harness-artifact-registry-api/llms.txt) · [OpenAPI document](https://skmtc.dev/harness/apis/harness-artifact-registry-api/revisions/e315ed26a2f1?raw)
