GitLab API

GitlabTool

Actions1095

Environments → deleteApiV4ProjectsIdEnvironmentsEnvironmentId

AI-generated

Summary

Sends a DELETE request to GitLab’s /api/v4/projects/{id}/environments/{environment_id} endpoint to delete an environment in a project. Provide the project ID or URL-encoded path and the environment ID; the base URL defaults to https://gitlab.com, and authentication uses the GitLab API credential unless skipped.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential.
  • Base URL — GitLab server URL; defaults to https://gitlab.com. The node source indicates the credential defines the base URL at runtime.
  • Method — HTTP method selector, defaulting to GET in the UI. Select DELETE for this operation.
  • Path Parameters: Id (required) — Project ID or URL-encoded project path owned by the authenticated user.
  • Path Parameters: Environment_id (required) — ID of the environment to delete.

Output shape

An HTTP response from the GitLab API.

The operation properties declare a DELETE endpoint but do not specify the response body shape.

Links

Discussion