Commit a135518d authored by Kapil Bishnoi's avatar Kapil Bishnoi

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

parent 57931b33
...@@ -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