---
title: "Delete an artifact"
method: DELETE
path: "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}"
tags: ["actions"]
---

# Delete an artifact

`DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}`

Deletes an artifact for a workflow run.
OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required
- `artifact_id` integer, required

## Response `204`

Response

---

[API](https://skmtc.net/github/apis/rest-api.md) · [All operations](https://skmtc.net/github/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/rest-api/versions/80850db290cd/schema)
