summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/groups.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/gl_objects/groups.rst b/docs/gl_objects/groups.rst
index b467836..4a01253 100644
--- a/docs/gl_objects/groups.rst
+++ b/docs/gl_objects/groups.rst
@@ -60,6 +60,12 @@ Create a group::
group = gl.groups.create({'name': 'group1', 'path': 'group1'})
+.. warning::
+
+ On GitLab.com, creating top-level groups is currently
+ `not permitted using the API <https://docs.gitlab.com/ee/api/groups.html#new-group>`_.
+ You can only use the API to create subgroups.
+
Create a subgroup under an existing group::
subgroup = gl.groups.create({'name': 'subgroup1', 'path': 'subgroup1', 'parent_id': parent_group_id})