Upsun Environment Type API
Environment Types is the way Upsun manages access. We currently have 3 environment types: * Development * Staging * Production Each environment type will contain a group of users and their accesses. We manage access, adding, updating and removing users and their roles, here. Each environment will have a type, pointing to one of these 3 environment types. See `type` in [Environments](#tag/Environment). In general: * Production will be reserved for the default branch, and cannot be set manually. * An environment can be set to be type `staging` or development manually and when branching. Dedicated Generation 2 projects have different rules for environment types. If your project contains at least one of those Dedicated Generation 2 environments, the rules are slightly different: * All non-dedicated environments in your project can be `development` or `staging`, but never `production`. * Dedicated Generation 2 environments can be set either to `staging` or `production`, but never `development`. * The default branch is not considered to be a special case.