GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves detailed information about a specific member of a GitLab group, identified by the group ID and the user ID of the member. It is useful for scenarios where you need to fetch membership details of a user within a particular group in GitLab, such as verifying user roles or permissions within the group.

Use Case Examples

  1. Fetch membership details of a user in a GitLab group to check their access level.
  2. Retrieve information about a specific group member to audit group membership.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, defaulting to GitLab API key.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method HTTP method used for the request, default is GET.
Path Parameters Parameters used in the request path to specify the group ID and user ID of the member.

Output

JSON

  • id - The ID of the group member.
  • username - The username of the group member.
  • name - The full name of the group member.
  • state - The state of the member (e.g., active, blocked).
  • access_level - The access level of the member within the group.
  • expires_at - The expiration date of the membership, if any.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and user ID are correct and exist in GitLab to avoid 404 errors.
  • Check that the API key has sufficient permissions to access group membership information.
  • If authentication is skipped, the request may fail due to lack of authorization.

Links

Discussion