GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → postApiV4ProjectsIdClustersUser

AI-generated

Summary

Send a POST request to register a user-cluster association for a specific GitLab project cluster.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project whose cluster user association is being registered.
  • postApiV4ProjectsIdClustersUser (required) — The request body containing details required to create the user cluster association as defined by the API schema.
  • skipAuthentication — Boolean to skip using the predefined GitLab API authentication (default false).
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com if unspecified.

Output shape

a single JSON object representing the created cluster-user association

The endpoint requires the path parameter 'id' and a JSON body matching the cluster user schema. The operation returns the details of the created user cluster association. Authentication is used by default unless explicitly skipped.

Links

Discussion