GitLab API icon

GitLab API

Gitlab

Actions880

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 remove an obsolete asset link from a release.
  2. Automating cleanup of release asset links in CI/CD pipelines to maintain accurate release information.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API access.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is used for this operation.
Path Parameters Parameters required in the URL path to identify the project, release tag, and link to delete.

Output

JSON

  • success - Indicates whether 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.
  • Check that the API key used has sufficient permissions to delete release asset links.
  • If authentication is skipped, verify that the GitLab instance allows unauthenticated DELETE requests for this resource.
  • Common error messages include 404 Not Found if the resource does not exist, 401 Unauthorized if authentication fails, and 403 Forbidden if permissions are insufficient.

Links

Discussion