@@ -96,7 +96,7 @@ POST /projects/:id/protected_environments
```
```shell
curl --request POST --header"PRIVATE-TOKEN: <your_access_token>""https://gitlab.example.com/api/v4/projects/5/protected_environments?name=staging&deploy_access_levels%5B%5D%5Buser_id%5D=1"
curl --header'Content-Type: application/json'--request POST --data'{"name": "production", "deploy_access_levels": [{"group_id": 9899826}]}'--header"PRIVATE-TOKEN: <your_access_token>""https://gitlab.example.com/api/v4/projects/22034114/protected_environments"