跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Remove a reaction from an issue

DELETE
/repos/{owner}/{repo}/issues/{index}/reactions
curl --request DELETE \
--url https://gitea.com/api/v1/repos/example/example/issues/1/reactions \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json' \
--data '{ "content": "example" }'
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

index
required
integer format: int64

Index of the issue

Media typeapplication/json

EditReactionOption contain the reaction type

object
content

The reaction content (e.g., emoji or reaction type)

string
Examplegenerated
{
"content": "example"
}

APIEmpty is an empty response

Media typeapplication/json

APIForbiddenError is a forbidden error response

Media typeapplication/json
message
string
url
string

APINotFound is a not found empty response

Media typeapplication/json