GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific upload from a GitLab group by its upload ID. It is useful for managing and cleaning up group uploads in GitLab, such as removing outdated or unwanted files associated with a group.

Use Case Examples

  1. Deleting an obsolete image or document uploaded to a GitLab group to free up storage or maintain organization.
  2. Automating cleanup of group uploads as part of a CI/CD pipeline or maintenance script.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Specifies the authentication method to use, 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 relevant for this operation.
Path Parameters Parameters required in the URL path to identify the group and the specific upload to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • responseBody - Body of the response returned by the GitLab API after attempting to delete the upload.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the provided group ID and upload ID are correct and exist in the GitLab instance.
  • Verify that the API key used has sufficient permissions to delete group uploads.
  • If skipping authentication, confirm the endpoint allows unauthenticated DELETE requests, which is uncommon for this operation.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion