# Upsun Environment Type API

**Canonical:** https://apis.io/apis/upsun/upsun-environment-type-api/  
**Provider:** Upsun — https://apis.io/providers/upsun/  
**Base URL:** https://api.upsun.com  
**Documentation:** https://developer.upsun.com/api-reference

Upsun Environment Type API is one of 50 APIs that [Upsun](https://apis.io/providers/upsun/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Environment Type. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

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.

## Machine-readable artifacts (2)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/upsun/refs/heads/main/openapi/upsun-environment-type-api-openapi.yml
- **Documentation** — https://developer.upsun.com/api-reference

## Other Upsun APIs (12)

- [Upsun Add-ons API](https://apis.io/apis/upsun/upsun-add-ons-api/)
- [Upsun Alerts API](https://apis.io/apis/upsun/upsun-alerts-api/)
- [Upsun API Tokens API](https://apis.io/apis/upsun/upsun-api-tokens-api/)
- [Upsun Autoscaling API](https://apis.io/apis/upsun/upsun-autoscaling-api/)
- [Upsun Cert Management API](https://apis.io/apis/upsun/upsun-cert-management-api/)
- [Upsun Connections API](https://apis.io/apis/upsun/upsun-connections-api/)
- [Upsun Deployment API](https://apis.io/apis/upsun/upsun-deployment-api/)
- [Upsun Deployment Target API](https://apis.io/apis/upsun/upsun-deployment-target-api/)
- [Upsun Discounts API](https://apis.io/apis/upsun/upsun-discounts-api/)
- [Upsun Domain Management API](https://apis.io/apis/upsun/upsun-domain-management-api/)
- [Upsun Environment Activity API](https://apis.io/apis/upsun/upsun-environment-activity-api/)
- [Upsun Environment API](https://apis.io/apis/upsun/upsun-environment-api/)

## Tags

Environment Type

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/upsun/upsun-environment-type-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/upsun/.
