GitLab API

GitlabTool

Actions1095

Members → getApiV4GroupsIdMembersAll

AI-generated

Summary

Retrieve all members of a specified GitLab group including all membership states, with optional filtering and pagination.

Inputs

  • id (required) — The ID of the GitLab group whose members are to be retrieved.
  • query — Optional query string to search for members by name or username.
  • user_ids — Optional array of user IDs to specifically look up membership within the group.
  • show_seat_info — Optional boolean to indicate whether to include seat information for members.
  • state — Optional filter to select members by their state, either 'awaiting' or 'active'.
  • page — Optional page number for paginated results, defaults to 1.
  • per_page — Optional number of items per page for pagination, defaults to 20.

Output shape

a list of group member objects with membership details

Supports pagination through 'page' and 'per_page' query parameters. Filters may limit returned members. Authentication is required by default unless explicitly skipped.

Examples

Example 1: Fetch first 20 members in group '123', filtering active members

Set 'id' to '123', 'state' to 'active', leave pagination defaults.

Links

Discussion