GT-SSH-KEY-DELETE(1) gitea-cli Manual GT-SSH-KEY-DELETE(1)

gt-ssh-key-delete - Delete an SSH key

gt ssh-key delete <id> [flags]

Delete an SSH key

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

--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

--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

$ gt ssh-key delete 2
$ gt ssh-key delete 2 --yes

gt-ssh-key(1)

Nov 2026 gitea-cli