GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → postApiV4GroupsIdClustersUser

AI-generated

Summary

Send a POST request to add or modify a user cluster within a specified GitLab group by its ID.

Inputs

  • id (required) — The ID of the GitLab group to which the user cluster belongs.
  • Request Body (required) — The payload defining the user cluster details, according to the schema postApiV4GroupsIdClustersUser.
  • Skip Authentication — Optionally skip authentication for this request (default is false).
  • baseUrl — The base URL of the GitLab instance, defaulting to 'https://gitlab.com'.

Output shape

a single record representing the response from the GitLab API regarding the user cluster operation

The exact shape of the response depends on the GitLab API's POST /api/v4/groups/{id}/clusters/user endpoint. Authentication is required by default unless skipped. Path parameter 'id' and a properly structured request body are mandatory.

Links

Discussion