GH-REPO-DEPLOY-KEY-DELETE(1)
π GH-REPO-DEPLOY-KEY-DELETE(1) π
okay so bestie, welcome to the GitHub CLI manual page for the command that deletes a deploy key from a GitHub repo. yes, weβre being useful AND iconic today. π β¨
πΈ NAME πΈ
gh-repo-deploy-key-delete β Delete a deploy key from a GitHub repository. thatβs the whole assignment, no cap. π«Ά
β¨ SYNOPSIS β¨
gh repo deploy-key delete <key-id> [flags]
the <key-id> spot is where the key id goes, and [flags] is where any optional flags get to hang out. the inherited flag below is ready when you need it, bestie. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the options this command gets from its parent commands, and hereβs the one thatβs on the list:
-R,--repo <[HOST/]OWNER/REPO>β Select another repository using the[HOST/]OWNER/REPOformat. so if you wanna choose a different repo, this is literally the flag for that. π₯
π EXIT CODES π
the vibe check results, bestie:
0: Successful execution1: Error2: Command canceled4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
so if you get one of these, now you know what itβs giving. for anything extra, the note says to check the commandβs help, periodt. π
π¦ SEE ALSO π¦
go check that one too if youβre doing a little deploy-key deep dive, iykyk. πΈ
mwah, thatβs the page π β source/version: GitHub CLI v2.102.0; date: Oct 2026. bye bestie, go slay those deploy keys πβ¨
π¦ 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