GitLab API

GitlabTool

Actions1095

Clusters → postApiV4ProjectsIdClustersUser

AI-generated

Summary

Add a user cluster to a specific GitLab project by making a POST request to the '/api/v4/projects/{id}/clusters/user' endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to which the user cluster will be added.
  • postApiV4ProjectsIdClustersUser (required) — The request body schema defining the user cluster details to be added to the project.

Output shape

a JSON object representing the created user cluster associated with the specified project

Requires authentication unless Skip Authentication is enabled. The 'id' path parameter is mandatory. The response corresponds to the cluster created in the project.

Links

Discussion