delete_comment
Delete a comment permanently by its ID. Irreversible – confirm with user first. Only the comment author or repo admin can delete (403 otherwise).
Instructions
Delete a comment by its id (NOT the issue index — get the id from list_comments). IRREVERSIBLE. Confirm with the user first; only the author or a repo admin may delete (403 otherwise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Comment ID | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) |