Create a group
Creates a project group. Available only for users who can create groups.
Request
- Base URLhttps://gitlab.com
- Authnone declared
Request body
The name of the group
The path of the group
The parent group id for creating nested group
The organization id for the group
The description of the group
The visibility of the group
Avatar image for the group
Prevent sharing a project with another group within this group
Require all users in this group to setup Two-factor authentication
Time before Two-factor authentication is enforced
Determine if developers can create projects in the group
Default to Auto DevOps pipeline for all projects within this group
Allowed to create subgroups
(Deprecated) Disable email notifications. Use: emails_enabled
Enable email notifications
Include the code diff preview in merge request notification emails
Disable a group from getting mentioned
Enable/disable LFS for the projects in this group
Allow users to request member access
The default branch of group's projects
Determine if developers can push to default branch
Allow only the selected protocols to be used for Git access.
Enable Customer Relations Management for this group
Send access token expiry notifications to all inherited members of the group
Prevent subgroups from overriding the access token expiry notification setting
Prevent adding new members to projects within this group
LDAP Common Name
A valid access level
(admin-only) compute minutes quota for this group
(admin-only) Extra compute minutes quota for this group
Wiki access level. One of disabled, private or enabled
Duo availability. One of default_on, default_off, never_on or always_on
Enable GitLab Duo remote flows for this group
Enable GitLab foundational Duo flows for this group
Enable GitLab Duo custom agents for this group
Enable GitLab Duo custom flows for this group
Enable GitLab Duo external agents for this group
Tool approval for session availability. One of default_on, default_off or never_on
Enable Amazon Q auto review for merge request
Enable experiment features for this group
Enable model prompt cache for this group
Example request
{
"default_branch": "main"
}Response
Create a group
[Experimental] Indicates whether GitLab Duo Core features are enabled for the group
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.