GitLab API

GitlabTool

Actions905

Overview

This node operation deletes a specific release asset link from a GitLab project release. It is useful for managing release assets by removing outdated or incorrect links associated with a release tag in a project. For example, if a release asset link is no longer valid or needed, this operation can be used to delete it programmatically.

Use Case Examples

  1. Deleting a release asset link by specifying the project ID, release tag name, and the link ID to clean up release assets.
  2. Automating release management workflows by removing obsolete asset links from GitLab releases.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Parameter Schema Defines the required path parameters for the delete operation: project ID, release tag name, and link ID.
Request Body Schema Schema for the request body, null for this delete operation.
Request Path API endpoint path template for deleting the release asset link.
Path Parameters Collection of path parameters including project ID, release tag name, and link ID to identify the asset link to delete.

Output

JSON

  • success - Indicates if the deletion was successful.
  • statusCode - HTTP status code returned by the API.
  • message - Response message or error details from the API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID, tag name, and link ID are correctly specified and exist in the GitLab project.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • HTTP 404 errors indicate the specified release asset link or project was not found.
  • HTTP 403 errors indicate insufficient permissions to delete the release asset link.

Links

Discussion