GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdJobsJobIdErase

AI-generated

Summary

Erase a specific build job within a GitLab project by providing the project ID and the job ID to permanently remove the job's trace and artifacts.

Inputs

  • Id (required) — The ID of the GitLab project containing the job to erase.
  • Job_id (required) — The ID of the specific build job to erase within the project.

Output shape

a single JSON object confirming the job erase action or detailing any errors

The operation requires path parameters 'id' (project ID) and 'job_id' (job ID) and uses POST to the endpoint /api/v4/projects/{id}/jobs/{job_id}/erase. Authentication via GitlabApi credential is required unless explicitly skipped.

Links

Discussion