Upsun Environment Type API
Environment Types is the way Upsun manages access. We currently have 3 environment types:* Development* Staging* ProductionEach 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 projectcontains 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.
Upsun Environment Type API is one of 50 APIs that Upsun publishes on the 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.
This API exposes 2 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.0.1, at version 1.0.
Requests are made against a single base URL, {schemes}://api.upsun.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Upsun Environment Type API declares
2 security schemes
for authenticating requests.
It supports OAuth 2.0 (OAuth2) using the authorizationCode flow.
It supports OAuth 2.0 (OAuth2Admin) using the clientCredentials flow, exposing 1 scope.
By default, every request must be authenticated.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.
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 th…
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed is EnvironmentType (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Upsun 12
Other APIs Upsun publishes across the network.
This is an independent, third-party profile of Upsun Environment Type API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.