Skip to main content
DELETE
/
repos
/
{owner}
/
{repo}
/
issues
/
{index}
/
labels
Remove all labels from an issue
curl --request DELETE \
  --url https://gogs.example.com/api/v1/repos/{owner}/{repo}/issues/{index}/labels \
  --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

Response

The resource has been successfully deleted.