GitLab API icon

GitLab API

Gitlab

Actions1062

Members → getApiV4ProjectsIdMembersAllUserId

AI-generated

Summary

Retrieve detailed information about a specific member of a GitLab project, including inherited members, by providing the project ID and user ID.

Inputs

  • id (required) — The project ID of the GitLab project to query.
  • user_id (required) — The user ID of the member whose details you want to retrieve.
  • skipAuthentication — Optionally skip authentication; defaults to false (authentication required).
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use; fixed to GET by default for this operation.

Output shape

a single member object representing the specified user within the project, including inherited membership details if present

The operation maps to the GET request on path /api/v4/projects/{id}/members/all/{user_id}. Authentication is required unless explicitly skipped. No pagination applies since a single member record is returned.

Examples

Example 1: Get information about user ID 42 in project ID 'my-project'

Set 'id' to 'my-project', 'user_id' to 42, and execute to fetch membership details including inherited memberships.

Links

Discussion