GitLab API

GitlabTool

Actions1095

Terraform_state → deleteApiV4ProjectsIdTerraformStateNameVersionsSerial

AI-generated

Summary

Deletes a specific version of a Terraform state for a GitLab project by sending a DELETE request to /api/v4/projects/{id}/terraform/state/{name}/versions/{serial}. Supply the project ID or URL-encoded path, state name, and version serial; authentication uses the GitLab API credential unless skipped.

Inputs

  • Skip Authentication — When enabled, skips GitLab API authentication; defaults to false.
  • baseUrl — Base URL for the GitLab API; defaults to https://gitlab.com. The node source says the base URL is defined by the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET in the UI. To perform this delete operation, use DELETE.
  • Path Parameters (required) — id: project ID or URL-encoded path; name: Terraform state name; serial: version serial. All three are required by the operation schema.

Output shape

The response body returned by the GitLab API.

The source delegates request execution to OpenApiToolNode and does not specify the response body schema for this operation.

Links

Discussion