GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsId

AI-generated

Summary

Delete a GitLab project by specifying its ID or URL-encoded path.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project to delete.
  • Skip Authentication — Optionally bypass authentication for this request (default is false).
  • baseUrl — Base URL for the GitLab instance, defaults to https://gitlab.com.

Output shape

No response body is returned upon successful deletion; operation returns status only.

The operation uses the DELETE HTTP method on the path /api/v4/projects/{id}. Authentication is required unless 'Skip Authentication' is set to true.

Examples

Example 1: Deleting a project by providing its ID

Set 'Id' to the project ID, ensure authentication is configured, and execute the operation.

Links

Discussion