This example creates a new group. Be aware of the use of single (`'`) and double
In this example we create a new group. Watch carefully the single and double
(`"`) quotes.
quotes.
```shell
```shell
curl --request POST --header"PRIVATE-TOKEN: <your_access_token>"--header"Content-Type: application/json"--data'{"path": "my-group", "name": "My group"}'"https://gitlab.example.com/api/v4/groups"
curl --request POST --header"PRIVATE-TOKEN: <your_access_token>"--header"Content-Type: application/json"--data'{"path": "my-group", "name": "My group"}'"https://gitlab.example.com/api/v4/groups"
```
```
For readability, you can also set up the `--data` by using the following format:
```shell
curl --request POST \
--url"https://gitlab.example.com/api/v4/groups"\
--header"content-type: application/json"\
--header"PRIVATE-TOKEN: <your_access_token>"\
--data'{
"path": "my-group",
"name": "My group"
}'
```
### Post data using form-data
### Post data using form-data
Instead of using JSON or urlencode you can use multipart/form-data which
Instead of using JSON or urlencode you can use multipart/form-data which
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
---
---
# Monitor your CI/CD environment's metrics **(CORE)**
# Monitor your environment's metrics **(CORE)**
GitLab helps your team monitor the health and performance of your applications
GitLab helps your team monitor the health and performance of your applications
and infrastructure by turning statistics and log files into charts and graphs
and infrastructure by turning statistics and log files into charts and graphs