Update an environment

Updates a single environment, to change the name for example

Path parameters

environmentIdstringRequired
ID of the environment to update

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
namestringOptional
The name of the environment
isProdbooleanOptional
Whether or not the environment is a production environment
guestAuthenticationlist of enumsOptional
Allowed values:
metadatamap from strings to anyOptional
translationsPathstringOptional
namespaceslist of stringsOptional
languageOverridestringOptional

Response

This endpoint returns an object.
idstring
Environment ID
accountIdstring
Account ID
namestring
The name of the environment
isProdboolean
Whether or not the environment is a production environment
guestAuthenticationlist of enums
Allowed values:
featuresmap from strings to any
metadatamap from strings to any
translationsPathstringOptional
namespaceslist of stringsOptional
languageOverridestringOptional