---
title: "Delete an issue artifact"
method: DELETE
path: "/repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}"
tags: ["issues"]
---

# Delete an issue artifact

`DELETE /repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}`

## Request

- Base URL: `https://api.github.com`
- URL: `https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}`
- Auth: none declared

Permanently deletes an artifact attached to an issue.

Deleting an artifact requires permission to update the issue.

The request can return `403` if the repository is read-only or locked, or a
GitHub App installation has only `issues: read` permission.

## Path parameters

- `owner` string, required
- `repo` string, required
- `issue_number` integer, required
- `artifact_number` integer, required

## Response `204`

The artifact was deleted successfully. No content is returned.

## Other responses

- `403`: Forbidden
- `404`: Resource not found
- `410`: Gone
- `429`: Artifact writes are temporarily throttled. Retry after the indicated delay.
- `503`: Service unavailable

## Changes

- **2026-10-28** `3b55ce443f5c`: 1 info
  - added the non-success response with the status `403`
- **2026-10-27** `2bbf5140540d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/github/apis/enterprise-cloud/changes/repos/:owner/:repo/issues/:issue_number/artifacts/:artifact_number/delete.md)

---

[API](https://skmtc.dev/github/apis/enterprise-cloud.md) - [All operations](https://skmtc.dev/github/apis/enterprise-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/github/apis/enterprise-cloud/revisions/3b55ce443f5c?raw)
