GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdUploadsSecretFilename

AI-generated

Summary

Delete a specific upload file from a GitLab project by providing the project ID, the 32-character secret, and the filename of the upload.

Inputs

  • id (required) — The numeric ID of the GitLab project from which to delete the upload.
  • secret (required) — The 32-character secret associated with the project upload to authenticate the deletion.
  • filename (required) — The exact filename of the upload to delete.

Output shape

no body — success/failure only

The operation performs a DELETE HTTP request to remove the specified upload; it returns no body content but indicates success or failure based on HTTP status code.

Examples

Example 1: Delete an upload from a project

Set 'id' to the project ID, 'secret' to the upload's secret string, and 'filename' to the exact upload filename. The node expires the targeted upload on execution.

Links

Discussion