Skip to content

Commit 9bd433a

Browse files
nejchJohnVillalovos
authored andcommitted
docs(groups): describe GitLab.com group creation limitation
1 parent d0a0348 commit 9bd433a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/gl_objects/groups.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ Create a group::
6060

6161
group = gl.groups.create({'name': 'group1', 'path': 'group1'})
6262

63+
.. warning::
64+
65+
On GitLab.com, creating top-level groups is currently
66+
`not permitted using the API <https://docs.gitlab.com/ee/api/groups.html#new-group>`_.
67+
You can only use the API to create subgroups.
68+
6369
Create a subgroup under an existing group::
6470

6571
subgroup = gl.groups.create({'name': 'subgroup1', 'path': 'subgroup1', 'parent_id': parent_group_id})

0 commit comments

Comments
 (0)