GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → putApiV4GroupsIdClustersClusterId

AI-generated

Summary

Update an existing Kubernetes cluster within a specific GitLab group by providing the group ID, cluster ID, and updated cluster details.

Inputs

  • id (required) — The ID of the GitLab group owning the cluster to be updated.
  • cluster_id (required) — The ID of the cluster to update within the specified group.
  • putApiV4GroupsIdClustersClusterId (required) — The request body containing the cluster update parameters, adhering to the putApiV4GroupsIdClustersClusterId schema.
  • skipAuthentication — Boolean flag to skip authentication; defaults to false.
  • baseUrl — Base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a JSON object representing the updated cluster details returned from GitLab's API

The operation returns the updated cluster resource data as per GitLab API v4. Proper authentication is required unless skipped via 'skipAuthentication'. Path parameters 'id' and 'cluster_id' are mandatory for identifying the cluster to update.

Links

Discussion