FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(groups): describe GitLab.com group creation limitation · python-gitlab/python-gitlab@9bd433a · GitHub

Repository navigation

Commit 9bd433a

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

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL