GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → deleteApiV4ProjectsIdJobsJobIdArtifacts

AI-generated

Summary

Delete job artifacts from a specific project job in GitLab by providing the project ID (or URL-encoded path) and the job ID.

Inputs

  • Id (required) — The ID or URL-encoded path of the project from which to delete job artifacts.
  • Job_id (required) — The ID of the job whose artifacts will be deleted.

Output shape

no body — success/failure only

The operation performs a DELETE request with no response body expected; workflow should handle success or failure from HTTP status codes.

Examples

Example 1: Delete artifacts for job ID 123 in project 'my-group/my-project'

Set 'Id' to 'my-group%2Fmy-project', set 'Job_id' to '123', and execute the operation.

Links

Discussion