capabilities.work

Delete a job's artifacts

One step with GitLab. We can help you get access.

Get something done

Delete a job's artifacts

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Job artifacts API lets you delete a job's artifacts in a single step (DELETE /api/v4/projects/{id}/jobs/{job_id}/artifacts). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I delete the artifacts from a job that failed or was replaced?
  • Can I remove a job's artifacts archive from a project?
Say it to your AI assistant
  • Delete the artifacts of job {job_id} in project {id}.
  • Remove the artifacts archive for job {job_id} in {id}.
For your developer

DELETE /api/v4/projects/{id}/jobs/{job_id}/artifacts in GitLab REST Job artifacts API. Full spec on APIs.io.