| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d0a0348 commit 9bd433a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -60,6 +60,12 @@ Create a group:: | |||
| 60 | 60 | ||
| 61 | 61 | group = gl.groups.create({'name': 'group1', 'path': 'group1'}) | |
| 62 | 62 | ||
| 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 | + | ||
| 63 | 69 | Create a subgroup under an existing group:: | |
| 64 | 70 | ||
| 65 | 71 | subgroup = gl.groups.create({'name': 'subgroup1', 'path': 'subgroup1', 'parent_id': parent_group_id}) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments