GitLab API icon

GitLab API

Gitlab

Actions917

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, allowing users to search for members, filter by user IDs, member state, and control the number of results per page. This operation is useful for managing group memberships, auditing access, or integrating group member data into workflows.

Use Case Examples

  1. Fetch all members of a GitLab group to synchronize with an internal user management system.
  2. Retrieve active members of a group for reporting or access control purposes.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the API request.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, defaulting to GET.
Parameter Schema Defines the parameters for the API request including the group ID (required), query string for searching members, user IDs array, seat info display, member state filter, and pagination controls.
Query Parameters Collection of optional query parameters to filter and paginate the members list, including search query, user IDs, seat info flag, member state, page number, and items per page.
Path Parameters Collection containing the group ID path parameter required to specify which group's members to retrieve.

Output

JSON

  • id - The unique identifier of the group member.
  • username - The username of the group member.
  • name - The full name of the group member.
  • state - The membership state of the user (e.g., active, awaiting).
  • access_level - The access level of the member within the group.
  • expires_at - The expiration date of the membership, if any.
  • created_at - The date and time when the membership was created.
  • avatar_url - URL to the member's avatar image.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID path parameter is correctly set; missing or incorrect ID will cause API errors.
  • Verify that the API key credential has sufficient permissions to access group member information.
  • Check the base URL if using a self-hosted GitLab instance to avoid connection errors.
  • Pagination parameters (page, per_page) must be valid integers; invalid values may cause unexpected results or errors.

Links

Discussion