GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdArtifacts

AI-generated

Summary

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

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project whose artifacts you want to delete.
  • baseUrl — Optional base URL for the GitLab instance, defaults to https://gitlab.com if not specified.
  • skipAuthentication — Boolean to optionally skip authentication; defaults to false, meaning authentication is used.

Output shape

no body — success/failure only

This operation makes a DELETE request to /api/v4/projects/{id}/artifacts and returns no response body. Success or failure is determined by the HTTP status code.

Links

Discussion