GitLab API

GitlabTool

Actions1095

Groups → getApiV4GroupsIdInvitedGroups

AI-generated

Summary

Retrieves a paginated list of groups invited to a specific parent group.

Inputs

  • id (required) — The ID of the parent group.
  • relation — Include group relations (e.g., direct, inherited).
  • search — Search for a specific group.
  • min_access_level — Minimum access level of the authenticated user.
  • page — Current page number (default: 1).
  • per_page — Number of items per page (default: 20).
  • with_custom_attributes — Include custom attributes in the response.

Output shape

a list of items

Returns an array of group objects. The response is paginated based on the 'page' and 'per_page' parameters.

Examples

Example 1: List all invited groups for a parent group

Use a 'Set' node to output the group ID, then connect it to this node with the default settings.

Example 2: Paginate through invited groups with a limit

Set 'per_page' to 50 and use a 'Function' node to increment the 'page' parameter for subsequent calls.

Links

Discussion