{
  "operationId": "enterprise-admin/delete-pre-receive-environment",
  "method": "DELETE",
  "path": "/admin/pre-receive-environments/{pre_receive_environment_id}",
  "summary": "APIs.io Engineering Platform Delete a pre-receive environment",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "422",
      "contentType": "application/json",
      "name": "client-errors",
      "example": {
        "message": "Validation Failed",
        "errors": [
          {
            "resource": "PreReceiveEnvironment",
            "code": "custom",
            "message": "Cannot modify or delete the default environment"
          }
        ]
      }
    }
  ]
}