Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Humanitec EnvironmentType API

Environment Types are a way of grouping and managing Environments. Every Environment has exactly 1 Environment Type.Environment Types can be used with External Resources to manage where resources such as databases are provisioned or even which cluster to deploy to.

Humanitec EnvironmentType API is one of 45 APIs that Humanitec publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include EnvironmentType. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and authentication docs.

This API exposes 5 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.0, at version 0.28.24.

Requests are made against a single base URL, https://api.humanitec.io/.

5 operations 2 paths 4 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
0.28.24
Base URL
https://api.humanitec.io
Resource Areas
1

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

EnvironmentType 5

Environment Types are a way of grouping and managing Environments. Every Environment has exactly 1 Environment Type. Environment Types can be used with External Resources to manag…

GET
/orgs/{orgId}/env-types
List all Environment Types
listEnvironmentTypes 1 param → 200
POST
/orgs/{orgId}/env-types
Add a new Environment Type
createEnvironmentType 1 param body → 201400401409
GET
/orgs/{orgId}/env-types/{envTypeId}
Get an Environment Type
getEnvironmentType 2 params → 200404
DELETE
/orgs/{orgId}/env-types/{envTypeId}
Deletes an Environment Type
deleteEnvironmentType 2 params → 204401404409
PATCH
/orgs/{orgId}/env-types/{envTypeId}
Updates Environment Type
updateEnvironmentType 2 params body → 200401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are HumanitecErrorResponse (3 properties), EnvironmentTypeRequest (2 properties), EnvironmentTypeResponse (2 properties), UpdateEnvironmentTypePayloadRequest (1 property). Each schema is shown below with its type and property counts.

HumanitecErrorResponse
object
HumanitecError represents a standard Humanitec Error
3 properties 2 required
UpdateEnvironmentTypePayloadRequest
object
UpdateEnvironmentTypePayload contains the description field that should be set in the Environment Type to update.
1 property
EnvironmentTypeResponse
object
Environment Types are a way of grouping and managing Environments. Every Environment has exactly 1 Environment Type. Environment Types can be used with Externa…
2 properties 2 required
EnvironmentTypeRequest
object
Environment Types are a way of grouping and managing Environments. Every Environment has exactly 1 Environment Type. Environment Types can be used with Externa…
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

humanitec-environmenttype-api-openapi.yml Raw ↑

Other APIs Humanitec publishes across the network.

Humanitec AccountType API
Humanitec ActiveResource API
Humanitec Agents API
Humanitec Application API
Humanitec Artefact API
Humanitec ArtefactVersion API
Humanitec AuditLogs API
Humanitec AutomationRule API
Humanitec Delta API
Humanitec Deployment API
Humanitec DriverDefinition API
Humanitec Environment API