GitLab API

GitlabTool

Actions1095

Clusters → putApiV4AdminClustersClusterId

AI-generated

Summary

Update an existing GitLab cluster's details by specifying its cluster ID and providing the updated data in the request body.

Inputs

  • cluster_id (required) — The unique identifier of the cluster to update, passed as a path parameter.
  • putApiV4AdminClustersClusterId (required) — The request body containing the cluster properties and configuration to update, conforming to the putApiV4AdminClustersClusterId schema.
  • Skip Authentication — Boolean flag to optionally skip authentication when making the API request.
  • baseUrl — The GitLab instance base URL; defaults to https://gitlab.com if unspecified.

Output shape

a single JSON object representing the updated cluster resource as returned by the GitLab API

Requires valid authentication unless explicitly skipped. The cluster ID must be provided to identify which cluster to update. Request body must conform to the defined schema for updating clusters. The operation corresponds to an HTTP PUT request to /api/v4/admin/clusters/{cluster_id}.

Links

Discussion