Create an environment
Creates an environment in a project, on one of the organization’s clusters.
/project/{project_id}/environmentAuthorizationBearer token (JWT) · headerrequiredJWT token passed in the Authorization header using the Bearer <token> format.
project_iduuidrequiredThe unique identifier for the project
application/jsoncluster_iduuidrequiredA universally unique identifier (UUID) string
namestringrequiredThe name of the environment.
typeenvironment_typerequiredThe type of the environment.
developmentstagingproductionEnvironment created successfully
iduuidrequiredA universally unique identifier (UUID) string
organization_iduuidrequiredA universally unique identifier (UUID) string
project_iduuidrequiredA universally unique identifier (UUID) string
cluster_iduuidrequiredA universally unique identifier (UUID) string
namestringrequiredThe name of the environment.
typeenvironment_typerequiredThe type of the environment.
developmentstagingproductioncreated_atstring<date-time>requiredThe timestamp when the environment was created.
updated_atstring<date-time>requiredThe timestamp when the environment was last updated.
deleted_atstring<date-time> | nullrequiredThe timestamp when the environment was deleted.
Error
codeinteger<int32>requiredmessagestringrequiredreasonstringOptional stable machine-readable reason for programmatic error handling