Skip to main content
DELETE
/
repos
/
{owner}
/
{repo}
/
issues
/
{index}
/
comments
/
{id}
Delete a comment
curl --request DELETE \
  --url https://gogs.example.com/api/v1/repos/{owner}/{repo}/issues/{index}/comments/{id} \
  --header 'Authorization: <api-key>'

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

owner
string
required

Repository owner

repo
string
required

Repository name

index
string
required

Issue index

id
string
required

Comment ID

Response

The resource has been successfully deleted.