GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the memberships of a specific user from the GitLab API. It is useful for scenarios where you need to fetch information about the projects or namespaces a user is a member of, such as managing user access or auditing memberships in GitLab projects or groups.

Use Case Examples

  1. Fetch all project memberships for a user to verify their access rights.
  2. Retrieve namespace memberships to understand user group affiliations.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
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 filter or paginate the results.
Path Parameters Path parameters required for the request.

Output

JSON

  • memberships - Array of membership objects for the specified user, including details about projects or namespaces the user belongs to.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the user_id path parameter is provided and valid; missing or invalid user_id will cause request failure.
  • Check that the authentication token is valid and has sufficient permissions to access user membership data.
  • Pagination parameters (page, per_page) should be set correctly to avoid incomplete data retrieval or excessive data load.

Links

Discussion