.nh .TH "GT-MILESTONE-DELETE" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-milestone-delete - Delete a milestone .SH SYNOPSIS \fBgt milestone delete [flags]\fP .SH DESCRIPTION Delete a milestone. Its issues and pull requests stay, without a milestone. .SS ARGUMENTS .EX A milestone can be supplied by its title, such as "v1.0", or by its ID. A number is an ID first, then a title; --by-name matches it as a title only. .EE .SS JSON FIELDS .EX closed_issues, description, due_date, id, open_issues, state, title, url .EE .SH OPTIONS \fB--by-name\fP[=false] Match a numeric argument as a milestone title rather than an ID .PP \fB-h\fP, \fB--help\fP[=false] help for delete .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--csv\fP[=""] Output CSV with the specified comma-separated \fBfields\fR, or all fields .PP \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-q\fP, \fB--jq\fP="" Filter JSON output using a jq \fBexpression\fR; implies --json .PP \fB--json\fP[=""] Output JSON with the specified comma-separated \fBfields\fR, or all fields .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 $ gt milestone delete v0.9 $ gt milestone delete 7 --yes .EE .SH SEE ALSO \fBgt-milestone(1)\fP