GitLab API

GitlabTool

Actions1095

Environments → deleteApiV4ProjectsIdEnvironmentsReviewApps

AI-generated

Summary

Deletes review app environments from a GitLab project through the GitLab API. Set the project ID or URL-encoded path and query parameters to control the age cutoff, deletion limit, and whether the request is a dry run.

Inputs

  • Skip Authentication — Defaults to false. When authentication is enabled, the node requires GitLab API credentials; the base URL is defined by those credentials.
  • Method — HTTP method selector; defaults to GET even though this operation targets a deletion endpoint. Choose the method expected by the GitLab API.
  • Path Parameters: Id (required) — The project ID or URL-encoded path of the project owned by the authenticated user.
  • Query Parameters: Before — ISO 8601 date-time cutoff; environments before this date can be deleted. The API schema says the default is 30 days ago.
  • Query Parameters: Limit — Maximum number of environments to delete; defaults to 100, with a declared range of 1–1000.
  • Query Parameters: Dry_run — Defaults to true for safety, so the request performs no actual deletion. Set to false to delete eligible environments.

Output shape

A single API response returned by the OpenAPI tool node.

The supplied source pack shows the node delegates execution to OpenApiToolNode and does not expose response parsing or a more specific output shape. Actual deletions are avoided when dry_run is true.

Links

Discussion