GitLab API icon

GitLab API

Gitlab

Actions1062

Releases → deleteApiV4ProjectsIdReleasesTagName

AI-generated

Summary

Delete a specific release from a GitLab project by specifying the project ID or URL-encoded path and the associated Git tag name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to delete the release from.
  • tag_name (required) — The Git tag name associated with the release to be deleted.
  • skipAuthentication — If set to true, skips the authentication check (default is false).
  • baseUrl — Base URL of the GitLab instance, defaulting to https://gitlab.com if not provided.

Output shape

no body — success or failure indicated by the HTTP response status.

This operation uses an HTTP DELETE method on the path /api/v4/projects/{id}/releases/{tag_name} and requires authentication unless specifically skipped. No response content is returned upon success; failure results in an error response.

Examples

Example 1: Delete a release with project ID '123' and tag name 'v1.0.0' from the default GitLab instance.

Set 'Id' to '123', 'Tag_name' to 'v1.0.0', and leave 'baseUrl' as default, ensuring authentication is enabled.

Links

Discussion