---
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. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission 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/github-v3-rest-api-5.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-5/versions/50ae54440071/schema)
