Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of 1.26.4, which is no longer the latest release. See the latest release.

Delete a release by tag name

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

Owner of the repo

repo
required
string

Name of the repo

tag
required
string

Tag name of the release to delete

APIEmpty is an empty response

Media typeapplication/json

APINotFound is a not found empty response

Media typeapplication/json

APIValidationError is error format response related to input validation

Media typeapplication/json
message
string
url
string