Update an environment
Update an environment by its unique identifier environmentId. You can modify the environment name, identifier, color, and other configuration settings.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/jsonRequirednamestringidentifierstringparentIdstringcolorstringdnsobjectbridgeobjectPath Parameters
environmentIdRequiredstringThe unique identifier of the environment
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
_idRequiredstringUnique identifier of the environment
nameRequiredstringName of the environment
_organizationIdRequiredstringOrganization ID associated with the environment
identifierRequiredstringUnique identifier for the environment
typestring | nullType of the environment
Value in:
"dev" | "prod"apiKeysarray<object>List of API keys associated with the environment
_parentIdstringParent environment ID
slugstringURL-friendly slug for the environment