GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → deleteApiV4ProjectsIdUploadsSecretFilename

AI-generated

Summary

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

Inputs

  • id (required) — The integer ID of the GitLab project from which the upload file will be deleted.
  • secret (required) — The 32-character secret string associated with the project upload to identify the upload uniquely.
  • filename (required) — The exact filename of the project upload to delete.
  • Skip Authentication — Set to true to skip using GitLab API authentication credentials; defaults to false.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com and is generally taken from the credential.
  • Method — The HTTP method to use for the operation; defaults to GET but DELETE is appropriate for this endpoint.

Output shape

no body

deleteApiV4ProjectsIdUploadsSecretFilename returns no response body upon success, only an HTTP success status code.

The operation uses the HTTP DELETE method on the path /api/v4/projects/{id}/uploads/{secret}/{filename}. All three path parameters (id, secret, filename) are required for the call to succeed. Authentication is required by default unless Skip Authentication is enabled. There is no response content body returned on success.

Links

Discussion