GitLab API icon

GitLab API

Gitlab

Actions1062

Users → getApiV4UsersUserIdMemberships

AI-generated

Summary

Retrieves a user's memberships (projects and namespaces) from GitLab.

Inputs

  • user_id (required) — The ID of the user whose memberships to fetch.
  • type — Filter memberships by type: 'Project' or 'Namespace'.
  • page — Page number for pagination (default: 1).
  • per_page — Number of memberships per page (default: 20).
  • skipAuthentication — If true, bypass credentials; otherwise uses the gitlabApi credential.

Output shape

array

Each item is a GitLab membership object containing id, name, path, access_level, etc.

Links

Discussion