 href="#group-inheritance-types">valid group inheritance types</a>.</p>
<p>Each user must have access to the project and each group must <a href="../user/project/members/share_project_with_groups.md">have this project shared</a>.</p>
<p><code>shell
curl --header 'Content-Type: application/json' --request POST \
     --data '{"name": "production", "deploy_access_levels": [{"group_id": 9899826}], "approval_rules": [{"group_id": 134}, {"group_id": 135, "required_approvals": 2}]}' \
     --header "PRIVATE-TOKEN