gt-ssh-key-delete(1)

gt-ssh-key-delete1

Delete an ssh key

Usage

gt ssh-key delete <id> [flags]

Overview

Delete an SSH key

Options

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

Options inherited from parent commands

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

Examples

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

From gitea-cli 1.0.0-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.