---
name: "gh-issue-artifact-delete"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.103.3-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gh-issue-artifact-delete"
---

# gh-issue-artifact-delete(1)

Delete issue artifacts (preview)

## NAME

gh-issue-artifact-delete - Delete issue artifacts (preview)

## SYNOPSIS

**gh issue artifact delete {\<issue\> \<artifact-number\>... \| \<artifact-url\>...} \[flags\]**

## DESCRIPTION

Delete artifacts from an issue. A deleted artifact can't be restored.

Name artifacts by their issue and numbers, or by their URLs, which must all be on one issue. **\<issue\>** is an issue number or URL.

In a terminal, deletion requires confirmation. **--yes** skips the prompt and is required when prompting is unavailable.

## OPTIONS

- **--yes**

  Confirm deletion without prompting

## OPTIONS INHERITED FROM PARENT COMMANDS

- **-R**, **--repo** **\<\[HOST/\]OWNER/REPO\>**

  Select another repository using the \[HOST/\]OWNER/REPO format

## EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

## EXAMPLE

```
# Delete artifact 2 from issue 142
$ gh issue artifact delete 142 2
# Delete two artifacts without a prompt
$ gh issue artifact delete 142 2 5 --yes
```

## SEE ALSO

**[gh-issue-artifact(1)](/man/gh-issue-artifact/1.md)**
