Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Remove all labels from an issue

DELETE
/repos/{owner}/{repo}/issues/{index}/labels
curl --request DELETE \
--url https://gitea.com/api/v1/repos/example/example/issues/1/labels \
--header 'Authorization: Basic <credentials>'
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

index
required
integer format: int64

Index of the issue

APIEmpty is an empty response

APIForbiddenError is a forbidden error response

message
string
url
string

APINotFound is a not found empty response