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

gt-gpg-key-delete - Delete a GPG key

gt gpg-key delete <id> [flags]

Delete a GPG key by the ID that gt gpg-key list shows. Gitea stops marking commits that this key signed as verified.

--dry-run[=false] Show the write requests gt would send, without sending them

-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 gpg-key delete 4
$ gt gpg-key delete 4 --yes

gt-gpg-key(1)

Nov 2026 gitea-cli