{
  "operationId": "repos/create-or-update-environment",
  "method": "PUT",
  "path": "/repos/{owner}/{repo}/environments/{environment_name}",
  "summary": "APIs.io Engineering Platform Create or update an environment",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "default",
      "example": {
        "wait_timer": 30,
        "reviewers": [
          {
            "type": "User",
            "id": 1
          },
          {
            "type": "Team",
            "id": 1
          }
        ],
        "deployment_branch_policy": {
          "protected_branches": false,
          "custom_branch_policies": true
        }
      }
    }
  ],
  "responseExamples": []
}