GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → deleteApiV4ProjectsIdArtifacts

AI-generated

Summary

Delete all job artifacts for a specific GitLab project by providing the project's ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the project whose artifacts should be deleted.
  • Skip Authentication — If set to true, the node skips authentication (default is false).
  • baseUrl — Base URL of the GitLab instance (default is 'https://gitlab.com').

Output shape

no body — success/failure only

This operation performs a DELETE request to the GitLab API endpoint /api/v4/projects/{id}/artifacts. It returns no data in the body upon success; only the HTTP status code indicates success or failure.

Examples

Example 1: Delete job artifacts for project with ID '123'.

Set 'Id' path parameter to '123'. Leave other parameters as default unless authentication skipping or custom base URL is needed.

Links

Discussion