GitLab API

GitlabTool

Actions1095

Terraform_state → postApiV4ProjectsIdTerraformStateName

AI-generated

Summary

Sends a request to /api/v4/projects/{id}/terraform/state/{name} using the selected HTTP method. Supply the project ID or URL-encoded path and the Terraform state name; authentication uses the GitLab API credential unless skipped, and the base URL is defined by that credential.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • Base URL — Defaults to https://gitlab.com; the source notes that the base URL is defined in the GitLab API credential.
  • Method — HTTP method for the request: GET, POST, PUT, DELETE, HEAD, or PATCH. Defaults to GET.
  • Path Parameters: Id (required) — Project ID or URL-encoded project path.
  • Path Parameters: Name (required) — Terraform state name. The schema declares an int32 parameter, while the UI accepts a string.

Output shape

A single response from the GitLab API request.

The operation declares no request-body schema. The exact response shape is not specified in the provided properties or source.

Links

Discussion