---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / UpdateEnvOptions

# Interface: UpdateEnvOptions

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:569](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L569)

Options for updating an MRT environment.

## Properties

### allowCookies?

> `optional` **allowCookies**: `boolean` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:608](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L608)

Forward HTTP cookies to origin.

***

### enableSourceMaps?

> `optional` **enableSourceMaps**: `boolean` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:613](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L613)

Enable source map support in the environment.

***

### externalDomain?

> `optional` **externalDomain**: `string` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:603](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L603)

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:598](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L598)

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

***

### hostname?

> `optional` **hostname**: `string` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:593](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L593)

Hostname pattern for V8 Tag loading.

***

### isProduction?

> `optional` **isProduction**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:588](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L588)

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:618](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L618)

Minimum log level for the environment.

***

### name?

> `optional` **name**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:583](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L583)

New display name for the environment.

***

### origin?

> `optional` **origin**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:637](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L637)

MRT API origin URL.

#### Default

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

***

### projectSlug

> **projectSlug**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:573](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L573)

The project slug containing the environment.

***

### proxyConfigs?

> `optional` **proxyConfigs**: `object`[] \| `null`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:628](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L628)

Proxy configurations for SSR.

***

### slug

> **slug**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:578](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L578)

Environment slug/identifier to update.

***

### whitelistedIps?

> `optional` **whitelistedIps**: `string` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:623](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L623)

IP whitelist (CIDR blocks, space-separated).
