GitLab API icon

GitLab API

Gitlab

Actions880

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 upload from a GitLab group to free up storage or remove obsolete files.
  2. Automating cleanup of group uploads in GitLab as part of a maintenance workflow.

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 used for this operation.
Path Parameters Parameters required in the URL path to identify the group and the upload to delete.

Output

JSON

  • success - Indicates whether the upload was successfully deleted.
  • statusCode - HTTP status code returned by the API after the delete operation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the provided group ID and upload ID are correct and exist in GitLab.
  • Check that the API key has sufficient permissions to delete group uploads.
  • If skipping authentication, verify that the endpoint supports unauthenticated requests, otherwise the request will fail.
  • Common error messages include 404 Not Found if the upload or group does not exist, and 403 Forbidden if the API key lacks delete permissions.

Links

Discussion