GitLab API icon

GitLab API

Gitlab

Actions1062

Members → getApiV4GroupsIdMembersAllUserId

AI-generated

Summary

Retrieve a group's member information including all direct and inherited memberships by specifying the group ID and the user's ID.

Inputs

  • id (required) — The ID of the group whose member details are to be fetched.
  • user_id (required) — The user ID of the member within the group.
  • skipAuthentication — Optional flag to skip using authentication credentials.
  • baseUrl — Optional base URL to use for the GitLab API (default is https://gitlab.com).
  • method — The HTTP method to use for the request; fixed to GET by default but configurable.

Output shape

a single record representing the member's membership details including inherited memberships

Returns the user membership details from the GitLab API endpoint /api/v4/groups/{id}/members/all/{user_id}. The response corresponds to the membership record and includes both direct and inherited memberships for the specified user in the specified group. Requires that both group ID (id) and user ID (user_id) path parameters are provided. Authentication is used unless skipAuthentication is set to true.

Links

Discussion