GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → putApiV4AdminClustersClusterId

AI-generated

Summary

Update a specific Kubernetes cluster configuration in GitLab's Admin API by providing the cluster ID and new cluster data.

Inputs

  • cluster_id (required) — The unique integer ID of the cluster to update, passed as a path parameter.
  • requestBody (required) — The body payload containing updated cluster properties conforming to GitLab's putApiV4AdminClustersClusterId schema as defined in the API specification.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com if not changed.
  • skipAuthentication — Boolean flag to skip authentication; defaults to false.

Output shape

the updated cluster object as returned by the GitLab Admin API

Returns the JSON response of the updated cluster. Authentication is required unless explicitly skipped. The request must specify "cluster_id" as a path parameter and provide a valid request body according to the cluster update schema.

Links

Discussion