GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves all members of a specified GitLab group using the GitLab API v4 endpoint `/api/v4/groups/{id}/members/all`. It supports filtering and pagination options to customize the member list returned. This is useful for scenarios where you need to manage or analyze group membership in GitLab, such as auditing group members, syncing members with another system, or displaying member information in a dashboard.

Use Case Examples

  1. Fetch all members of a GitLab group by providing the group ID.
  2. Filter group members by their state (e.g., active or awaiting).
  3. Search for specific members within a group using a query string.
  4. Paginate through large member lists by specifying page number and items per page.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Parameter Schema Defines the parameters for the API call including path and query parameters such as group ID, search query, user IDs, seat info, member state, pagination page, and items per page.
Query Parameters Collection of optional query parameters to filter and paginate the members list, including query string, user IDs, seat info flag, state filter, page number, and items per page.
Path Parameters Collection of path parameters, specifically the group ID to identify which group's members to retrieve.

Output

JSON

  • members - Array of member objects returned from the GitLab API representing all members of the specified group with their details.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and accessible with the authenticated user’s permissions.
  • If authentication is skipped, verify that the GitLab instance allows unauthenticated access to group members.
  • Check query parameter formats, especially for arrays like user_ids, to avoid request errors.
  • Pagination parameters (page and per_page) should be positive integers; invalid values may cause API errors.

Links

Discussion