GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → putApiV4ProjectsIdClustersClusterId

AI-generated

Summary

Update the details of a specific cluster attached to a GitLab project by providing the project ID, cluster ID, and the update data in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project whose cluster you want to update.
  • cluster_id (required) — The unique identifier of the cluster to update within the specified project.
  • putApiV4ProjectsIdClustersClusterId (required) — An object containing the cluster update fields as per GitLab API schema (passed in the request body).
  • baseUrl — Optional custom GitLab base URL; defaults to https://gitlab.com.
  • skipAuthentication — Boolean to indicate if the authentication should be skipped (default is false).

Output shape

a single updated cluster object as returned by the GitLab API

The response will contain the updated cluster details reflecting the applied changes. Standard GitLab API error handling applies for invalid inputs or authorization failures.

Links

Discussion