GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the memberships of a billable member within a specific GitLab group. It is useful for scenarios where you need to check or manage the membership details of a user who is a billable member of a group in GitLab, such as auditing user roles or permissions within the group.

Use Case Examples

  1. Fetch memberships of a user with user ID 123 in group with ID 'my-group' to verify their roles and permissions.
  2. List all memberships for a billable member to manage billing and access control in a GitLab group.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
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 for pagination, including page number and items per page.
Path Parameters Required path parameters identifying the group and user.

Output

JSON

  • memberships - Array of membership objects for the specified billable member in the group.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the group ID and user ID are correctly specified and exist in GitLab to avoid 404 errors.
  • Verify that the API token has sufficient permissions to access group and membership information.
  • Check network connectivity and base URL correctness if requests fail to reach the GitLab server.

Links

Discussion