GitHub CLI | Take GitHub to the command line
CLI manual gh repo deploy-key delete Delete a deploy key from a GitHub repository gh repo deploy-key delete <key-id> Options inherited from parent commands -R , --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format See also gh repo deploy-key