GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdInvitedGroups

AI-generated

Summary

Retrieve the list of groups invited to a specified GitLab project, optionally filtering by relation, search term, minimum access level, pagination, and including custom attributes.

Inputs

  • id (required) — The ID or URL-encoded path of the project to get invited groups for.
  • relation — Filter the invited groups by relation type ('direct' or 'inherited').
  • search — Search term to filter groups by name or other attributes.
  • min_access_level — Filter groups by the minimum access level the authenticated user has (e.g., 10,15,20,30,40,50).
  • page — Page number to retrieve for paginated results, defaulting to 1.
  • per_page — Number of invited groups to return per page, defaulting to 20.
  • with_custom_attributes — Boolean flag to include custom attributes in the response.

Output shape

a list of invited group objects associated with the specified project as returned by the GitLab API

Supports pagination via 'page' and 'per_page' query parameters. Optional filtering by relation, search term, and minimum access level is supported. The 'with_custom_attributes' option includes extra attributes in the response when set to true.

Links

Discussion