.nh .TH "GT-ADMIN-USER-DELETE" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-admin-user-delete - Delete an account .SH SYNOPSIS \fBgt admin user delete [flags]\fP .SH DESCRIPTION Delete an account. Gitea refuses while the user owns repositories or organizations, unless --purge deletes the account with everything it owns. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for delete .PP \fB--purge\fP[=false] Also delete the user's repositories, packages, organization memberships and the organizations they solely own .SH OPTIONS INHERITED FROM PARENT COMMANDS \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--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 admin user delete spammer # also delete the user's repositories, packages and organization memberships (and organizations they solely own) $ gt admin user delete spammer --purge .EE .SH SEE ALSO \fBgt-admin-user(1)\fP