v1

latestOpenAPI 3.1.02026-08-04222461539.5 KB
environments

Update an environment

Updates a single environment, to change the name for example

patch/environments/{environmentId}

Path parameters

environmentIdstring required

ID of the environment to update

Headers

Authorizationstring required

Bearer authentication

X-Disable-Hooks'true' required

Request body

namestring

The name of the environment

isProdboolean

Whether or not the environment is a production environment

guestAuthenticationTypeEnvironmentsGuestAuthenticationEnum[]
metadataobject
translationsPathstring
namespacesstring[]
languageOverridestring

Response

Response with status 200

idstring required

Environment ID

accountIdstring required

Account ID

namestring required

The name of the environment

isProdboolean required

Whether or not the environment is a production environment

guestAuthenticationTypeEnvironmentsGuestAuthenticationEnum[] required
featuresobject required
metadataobject required
translationsPathstring
namespacesstring[]
languageOverridestring