Update an environment
Updates an environment. Fields left out keep their value.
/project/{project_id}/environment/{environment_id}AuthorizationBearer token (JWT) · headerrequiredJWT token passed in the Authorization header using the Bearer <token> format.
project_iduuidrequiredThe unique identifier for the project
environment_iduuidrequiredThe unique identifier of the environment
application/jsonnamestringThe updated name of the environment.
Environment updated 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