: &lt;your_access_token&gt;" \
     "https://gitlab.example.com/api/v4/projects/22034114/protected_environments"</code></p>
<p>Example response:</p>
<p><code>json
{
   "name": "production",
   "deploy_access_levels": [
      {
         "id": 12,
         "access_level": 40,
         "access_level_description": "protected-access-group",
         "user_id": null,
         "group_id": 9899826,
         "group_inheritance_type": 0
      }
   ],
   "required_approval_count": 0,
   "approval_rules": [
      {
   