GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific group upload file in GitLab by using the group's ID, a secret key, and the filename. It is useful for managing and cleaning up uploaded files within a GitLab group, especially when you need to remove outdated or unwanted uploads programmatically.

Use Case Examples

  1. Deleting a file uploaded to a GitLab group by specifying the group ID, the secret key associated with the upload, and the filename to remove it from the group's storage.
  2. Automating cleanup of group uploads in GitLab to maintain storage hygiene and security.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Type of authentication used for the 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 relevant for this operation.
Path Parameters Parameters required in the URL path to identify the specific group upload to delete, including secret, filename, and group ID.

Output

JSON

  • id - The ID of the group from which the upload is deleted
  • secret - The 32-character secret key associated with the group upload
  • filename - The filename of the group upload being deleted

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID, secret, and filename are correctly specified; incorrect values will cause the deletion to fail.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials are properly configured.
  • HTTP method must be set to DELETE to perform the deletion operation; using other methods will not delete the upload.

Discussion