Delete a resource through the REST API.
Section: API and GraphQL
Delete via API
bash
bash
gh api repos/{owner}/{repo}/issues/comments/123456 --method DELETEExplanation
Delete a resource through the REST API.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing API and GraphQL