.nh .TH "GT-RUN-DELETE" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-run-delete - Delete a workflow run .SH SYNOPSIS \fBgt run delete [] [flags]\fP .SH DESCRIPTION Delete a completed workflow run with its logs and artifacts. Cancel a run before deleting it. .SS ARGUMENTS .EX 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. .EE .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for delete .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--cwd\fP="" Working \fBdirectory\fR for repository discovery .PP \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--remote\fP="" Git \fBremote\fR used for repository discovery .PP \fB-R\fP, \fB--repo\fP="" Select a repository as \fBOWNER/REPO\fR or URL .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .PP \fB-y\fP, \fB--yes\fP[=false] Accept confirmations without prompting .SH EXAMPLE .EX # delete a run $ gt run delete 34 # delete a run without confirmation $ gt run delete 34 --yes .EE .SH SEE ALSO \fBgt-run(1)\fP