Update an environment

PATCH

Updates a single environment, to change the name for example

Path parameters

environmentIdstringRequired

ID of the environment to update

Headers

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 "shared_link" or "magic_link"Optional
Allowed values: shared_linkmagic_link
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 "shared_link" or "magic_link"
Allowed values: shared_linkmagic_link
featuresmap from strings to any
metadatamap from strings to any
translationsPathstringOptional
namespaceslist of stringsOptional
languageOverridestringOptional