production"</code></p>
<p>Example response:</p>
<p><code>json
{
   "name": "production",
   "deploy_access_levels": [],
   "required_approval_count": 0
}</code></p>
<h3>Example: Create an <code>approval_rule</code> record</h3>
<p><code>shell
curl --header 'Content-Type: application/json' --request PUT \
     --data '{"approval_rules": [{"group_id": 134, "required_approvals": 1}]}' \
     --header "PRIVATE-TOKEN: &lt;your_access_token&gt;" \
     "https://gitlab.example.com/api/v4/projects/22034114/protected