GitLab API

GitlabTool

Actions1095

Clusters → putApiV4GroupsIdClustersClusterId

AI-generated

Summary

Updates an existing cluster in a GitLab group by sending a PUT request to the GitLab API endpoint for group clusters with specified group ID and cluster ID.

Inputs

  • id (required) — The ID of the GitLab group to which the cluster belongs.
  • cluster_id (required) — The ID of the cluster within the group to update.
  • putApiV4GroupsIdClustersClusterId (required) — A JSON object containing the cluster update details, following the GitLab API schema for updating a group cluster.
  • skipAuthentication — Optionally skip authentication (default is false).
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

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

The operation directly returns the updated cluster data according to the GitLab API response for the PUT /api/v4/groups/{id}/clusters/{cluster_id} endpoint.

Links

Discussion