Update group attributes
Updates the attributes for a specified group. You must be an administrator or have the Owner role for the group.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The ID of a group
Request Body
Section titled “ Request Body ”object
The name of the group
The path of the group
Enable/disable shared runners for the group and its subgroups and projects
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
Example
mainDetermine if developers can push to default branch
Determine if developers can push to default branch
object
An array of access levels allowed to push
object
A valid access level
Allow force push for all users with push access.
An array of access levels allowed to merge
object
A valid access level
Require approval from code owners
Allow developers to initial push
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
Whether each foundational agent has been enabled or disabled.
object
Reference of the foundational agent.
Whether foundational agent has been enabled or disabled.
AI-related settings
object
Whether Duo Agent Platform features are enabled
Enable MCP support for Duo Agent Platform
Enable AI usage data collection for this namespace
Restrict the AI Catalog to items within this top-level group hierarchy
Whether new foundational agents are enabled by default
Prompt injection protection level. One of no_checks, log_only or interrupt
Whether to include recommended domains in the network access allowlist
Whether to allow all Unix sockets for network access
Whether to allow projects to extend the network access domain allowlist
The minimum access level required to execute Duo Agent Platform. This field is behind a feature flag.
The minimum access level required to execute Duo Agent Platform features in CI/CD. This field is behind a feature flag.
The minimum access level required to manage Duo Agent Platform. This field is behind a feature flag.
The minimum access level required to enable Duo Agent Platform. This field is behind a feature flag.
Prevent sharing groups within this namespace with any groups outside the namespace. Only available on top-level groups.
OAuth provider required for step-up authentication. Pass empty string to disable.
Indicates if math rendering limits are locked for all descendent groups.
Indicates if math rendering limits are used for this group.
Set the maximum file size for each job’s artifacts
The ID of a project to use for custom templates in this group
Prevent forking projects inside this group to external namespaces
Maximum number of unique projects a user can download in the specified time period before they are banned.
Time period during which a user can download a maximum amount of projects before they are banned.
List of usernames excluded from the unique project download limit
List of user ids who will be emailed when Git abuse rate limit is exceeded
Ban users from the group when they exceed maximum number of unique projects download in the specified time period
List of IP addresses which need to be restricted for group
List of allowed email domains for group
To enforce token expiration for Service accounts users for group
[Experimental] Indicates whether GitLab Duo Core features are enabled for the group
Indicates whether GitLab Duo features are enabled for the group
Indicates if the GitLab Duo features enabled setting is enforced for all subgroups
Enable automatic reviews by GitLab Duo on merge requests
Indicates whether AI audit events are stored for the group
Indicates whether AI audit events storage is enforced for all subgroups and projects
Enable web based commit signing for this group
Only allow to merge if builds succeed
Allow to merge if pipeline is skipped
Only allow to merge if all threads are resolved
References of enabled foundational flows
The ID of a project to use as the Duo Code Review custom instructions template for this group
Allow creation of personal snippets for enterprise users of this group
AI entity access rules for controlling Duo feature access
object
Object containing through namespace information
object
ID of the through namespace
Name of the through namespace
Full path of the through namespace
List of accessible features
Enable built-in project templates for project creation
Enforce the built-in project templates setting for all subgroups
When true, records explicit namespace consent for DAP-based Code Review routing
Responses
Section titled “ Responses ”OK
object
object
object
CI artifacts size in bytes.
Container registry size in bytes.
Indicates whether the deduplicated container registry size for the namespace is an estimated value or not.
Dependency Proxy sizes in bytes.
LFS objects size in bytes.
Packages size in bytes.
CI pipeline artifacts size in bytes.
Git repository size in bytes.
Snippets size in bytes.
Total storage in bytes.
Uploads size in bytes.
Wiki size in bytes.
object
object
[Experimental] Indicates whether GitLab Duo Core features are enabled for the group
Example
{ "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" }}Bad Request
Not Found