Commit dc8f839f authored by Mike Jang's avatar Mike Jang

Merge branch 'patch-244' into 'master'

Updated curl command's data parameter to create a new subgroup. It was missing a single quote(').

See merge request gitlab-org/gitlab!43203
parents 6e8d2f10 a135518d
...@@ -696,7 +696,7 @@ This is similar to creating a [New group](#new-group). You'll need the `parent_i ...@@ -696,7 +696,7 @@ This is similar to creating a [New group](#new-group). You'll need the `parent_i
```shell ```shell
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --header "Content-Type: application/json" \ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --header "Content-Type: application/json" \
--data '{"path": "<subgroup_path>", "name": "<subgroup_name>", "parent_id": <parent_group_id> } \ --data '{"path": "<subgroup_path>", "name": "<subgroup_name>", "parent_id": <parent_group_id> }' \
"https://gitlab.example.com/api/v4/groups/" "https://gitlab.example.com/api/v4/groups/"
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment