Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / operations/mrt / UpdateEnvOptions

Interface: UpdateEnvOptions

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:539

Options for updating an MRT environment.

Properties

allowCookies?

optional allowCookies: boolean | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:578

Forward HTTP cookies to origin.


enableSourceMaps?

optional enableSourceMaps: boolean | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:583

Enable source map support in the environment.


externalDomain?

optional externalDomain: string | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:573

External domain for Universal PWA SSR (e.g., example.com).


externalHostname?

optional externalHostname: string | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:568

Full external hostname (e.g., www.example.com).


hostname?

optional hostname: string | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:563

Hostname pattern for V8 Tag loading.


isProduction?

optional isProduction: boolean

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:558

Mark as a production environment.


logLevel?

optional logLevel: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL" | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:588

Minimum log level for the environment.


name?

optional name: string

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:553

New display name for the environment.


origin?

optional origin: string

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:607

MRT API origin URL.

Default

ts
"https://cloud.mobify.com"

projectSlug

projectSlug: string

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:543

The project slug containing the environment.


proxyConfigs?

optional proxyConfigs: object[] | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:598

Proxy configurations for SSR.


slug

slug: string

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:548

Environment slug/identifier to update.


whitelistedIps?

optional whitelistedIps: string | null

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:593

IP whitelist (CIDR blocks, space-separated).

Released under the Apache-2.0 License.