GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdJobsJobIdErase

AI-generated

Summary

Erase (delete) a specific job from a project in GitLab by providing the project ID and job ID.

Inputs

  • id (required) — The ID of the GitLab project from which the job will be erased.
  • job_id (required) — The ID of the job (build) within the project to erase.
  • baseUrl — The base URL of the GitLab instance, defaults to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication; defaults to false meaning authentication is used.

Output shape

no body

This operation sends a POST request to the endpoint /api/v4/projects/{id}/jobs/{job_id}/erase. The response does not include a body, only HTTP status codes indicating success or failure.

Links

Discussion