GH-SSH-KEY-DELETE(1)
π gh-ssh-key-delete(1) β the GitHub CLI manual, bestie edition π
Okay so picture this: you're in the gh manual, specifically the page for gh-ssh-key-delete, and it does exactly one iconic thing β it yeets an SSH key off your GitHub account. That's it. That's the whole main character arc. β¨
πΈ NAME πΈ
gh-ssh-key-delete β delete an SSH key from your GitHub account. Like, gone gone. Not "hiding in a drawer" gone. π
π¦ SYNOPSIS π¦
gh ssh-key delete <id> [flags]
So you hand it an id (that's the key's id, not a vibe), and optionally some flags, and it does the thing. Slay. π
π OPTIONS π
-y,--yesβ skips the confirmation prompt. No "are you sure??" moment, no moment of reflection, just straight to it. Use it when you're confident, bestie β because there is no take-backsies. π
β EXIT CODES β
The way this command reports back to you after it's done β read 'em and weep (or celebrate):
0β successful execution. It ate. π1β error. Something went sideways. π2β command canceled. You (or the prompt) said never mind. π«Ά4β authentication required. You gotta prove who you are first, babe. π₯
NOTE: specific commands may have additional exit codes. Refer to the command's help for more information. So like, don't @ me if there's more β check the command's own help. iykyk. π§
π SEE ALSO π
gh-ssh-key(1)β the whole SSH key fam. Go say hi. π
and that's the page, bestie β¨ β brought to you by GitHub CLI v2.102.0, dated Oct 2026. Go forth and delete responsibly ππ¦π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms