GitLab API

GitlabTool

Actions1095

Members → putApiV4GroupsIdMembersUserId

AI-generated

Summary

Update the access level of an existing member in a specified GitLab group by their user ID.

Inputs

  • id (required) — The ID of the GitLab group where the member belongs.
  • user_id (required) — The user ID of the member whose access level is to be updated.
  • putApiV4GroupsIdMembersUserId (required) — The request body schema object containing updated member details such as access level and any optional parameters.
  • baseUrl — Optional base URL for the GitLab instance, defaulting to https://gitlab.com if not provided.
  • skipAuthentication — Optionally skip authentication for this request (default is false).

Output shape

a JSON object representing the updated group member with their new access level and details as returned by the GitLab API.

The output contains the full updated member record from GitLab. Authentication is required unless explicitly skipped. The operation modifies the member's membership details in the specified group.

Examples

Example 1: Update a user's access level in a GitLab group

Provide the GitLab group ID as 'id', the member's user ID as 'user_id', and in the request body specify the new access level and optional membership parameters. Execute the operation to receive the updated member object reflecting the new access rights.

Links

Discussion