---
name: "gt-run-delete"
section: "1"
platform: "linux"
package: "gitea-cli"
version: "1.0.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gt-run-delete"
---

# gt-run-delete(1)

Delete a workflow run

## NAME

gt-run-delete - Delete a workflow run

## SYNOPSIS

**gt run delete \[\<run-id\>\] \[flags\]**

## DESCRIPTION

Delete a completed workflow run with its logs and artifacts. Cancel a run before deleting it.

### ARGUMENTS

```
A run can be supplied as its ID ("34", "#34") or its URL
("https://gitea.example.com/OWNER/REPO/actions/runs/34"). Without an argument,
gt asks for one of the repository's recent runs in a terminal.
```

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for delete

## OPTIONS INHERITED FROM PARENT COMMANDS

**--cwd**=""\
 	Working **directory** for repository discovery

**--debug**\[=false\]\
 	Log the method, URL, status, and duration of each HTTP request to stderr

**--host**=""\
 	Gitea instance **URL**, including any base path

**--interactive**\[=false\]\
 	Allow prompts with machine output

**--no-input**\[=false\]\
 	Disable prompts and implicit editor/browser interactions

**--remote**=""\
 	Git **remote** used for repository discovery

**-R**, **--repo**=""\
 	Select a repository as **OWNER/REPO** or URL

**--sudo**=""\
 	Perform API requests as this **user** (requires an administrator account)

**--user**=""\
 	Account **name** on the selected instance

**-y**, **--yes**\[=false\]\
 	Accept confirmations without prompting

## EXAMPLE

```
# delete a run
$ gt run delete 34
# delete a run without confirmation
$ gt run delete 34 --yes
```

## SEE ALSO

**[gt-run(1)](/man/gt-run/1.md)**
