GitLab API icon

GitLab API

Gitlab

Actions1062

Secure_files → deleteApiV4ProjectsIdSecureFilesSecureFileId

AI-generated

Summary

Delete a secure file from a GitLab project by specifying the project ID or path and the secure file's ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project owned by the authenticated user.
  • secure_file_id (required) — The ID of the secure file to delete from the specified project.
  • skipAuthentication — Flag to skip authentication (defaults to false).
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use; must be 'DELETE' for this operation.

Output shape

no body — success/failure only

The operation returns no response body; success or failure is indicated by HTTP status codes.

Examples

Example 1: To remove a secure file from a specific project, provide the project ID or path in 'id' and the secure file's ID in 'secure_file_id'. The node will perform an authenticated DELETE request to the GitLab API endpoint /api/v4/projects/{id}/secure_files/{secure_file_id} to delete the file.

Set Method to DELETE; ensure authentication credentials are configured; specify the project and secure file IDs as path parameters.

Links

Discussion