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/REPO format. so if you wanna choose a different repo, this is literally the flag for that. πŸ”₯

πŸ‘‘ EXIT CODES πŸ‘‘

the vibe check results, bestie:

  • 0: Successful execution
  • 1: Error
  • 2: Command canceled
  • 4: 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