List all groups
Lists all visible groups for the authenticated user. Unauthenticated requests return only public groups.
Request
- Base URLhttps://gitlab.com
- Authnone declared
Query parameters
Include project statistics
Limit by archived status
Array of group ids to exclude from list
When true, returns all accessible groups. When false, returns only groups where the user is a member.
Limit by visibility
Search for a specific group
Limit by owned by authenticated user
Order by name, path, id or similarity if searching
Sort by asc (ascending) or desc (descending)
Minimum access level of authenticated user
Only include top-level groups
Return groups that are marked for deletion on this date
Limit by groups that are not archived and not marked for deletion
Filter by repository storage used by the group
Current page number
Number of items per page
Include custom attributes in the response
Response
List all groups
Example response
[
{
"web_url": "http://gitlab.example.com/groups/diaspora",
"name": "Diaspora",
"custom_attributes": {
"key": "foo",
"value": "bar"
},
"ldap_group_links": {
"cn": "ldap-group-1",
"group_access": 10,
"provider": "ldapmain",
"filter": "id >= 500",
"member_role_id": 12
},
"saml_group_links": {
"name": "saml-group-1",
"access_level": 40,
"member_role_id": 12,
"provider": "saml"
}
}
]Changes
No recorded changes to this operation across all 5 revisions of this API.