Sample - GitHub REST API
DELETE/repos/{owner}/{repo}/releases/{release_id}

Delete a release

Users with push access to the repository can delete a release.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
release_idintegerrequired
The unique identifier of the release.

2 status codes
204Response
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.