GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the list of pending members for a specific GitLab group using the GitLab API v4. It is useful for administrators or users managing group memberships who want to see which users have requested access but have not yet been approved. For example, it can be used to automate the review process of pending group membership requests.

Use Case Examples

  1. Fetch pending members of a GitLab group to review and approve membership requests.
  2. Automate notifications or reports about pending group membership requests.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Select the authentication method, typically an API key credential for GitLab API.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to control pagination of results.
Path Parameters Path parameters required by the API endpoint, specifically the group ID to identify the group whose pending members are being retrieved.

Output

JSON

  • id - The unique identifier of the pending member.
  • username - The username of the pending member.
  • name - The full name of the pending member.
  • state - The membership state, typically 'pending'.
  • access_level - The access level requested by the pending member.
  • created_at - Timestamp when the membership request was created.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the group ID path parameter is correctly set and corresponds to an existing group in GitLab.
  • Verify that the authentication token has sufficient permissions to read group membership information.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Pagination parameters (page and per_page) should be valid integers; otherwise, the API may return errors or unexpected results.

Links

Discussion