GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves information about a specific member of a GitLab group by using the group's ID and the member's user ID. It is useful for scenarios where you need to fetch detailed membership data for a user within a particular group in GitLab, such as verifying membership status or retrieving member details for access control or reporting purposes.

Use Case Examples

  1. Fetch details of a user who is a member of a specific GitLab group by providing the group ID and user ID.
  2. Use in automation workflows to check if a user belongs to a group before performing further actions.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication used for the request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters for the API path, including the group ID and the user ID of the member to retrieve.

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID and user ID are correctly provided and exist in GitLab to avoid 404 errors.
  • Check that the API key used for authentication has sufficient permissions to read group member information.
  • If skipping authentication, verify that the endpoint supports unauthenticated access, otherwise the request will fail.

Links

Discussion