---
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

---

[API](https://skmtc.net/harness/apis/harness-artifact-registry-api.md) · [All operations](https://skmtc.net/harness/apis/harness-artifact-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/harness/harness-artifact-registry-api/versions/e315ed26a2f1/schema)
