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

Options for updating an MRT environment.

## Properties

### allowCookies?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:748](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L748)

Forward HTTP cookies to origin.

***

### enableSourceMaps?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:753](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L753)

Enable source map support in the environment.

***

### externalDomain?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:743](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L743)

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

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

***

### hostname?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:733](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L733)

Hostname pattern for V8 Tag loading.

***

### isProduction?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:728](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L728)

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

Minimum log level for the environment.

***

### name?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:723](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L723)

New display name for the environment.

***

### origin?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:777](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L777)

MRT API origin URL.

#### Default

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

***

### projectSlug

> **projectSlug**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:713](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L713)

The project slug containing the environment.

***

### proxyConfigs?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:768](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L768)

Proxy configurations for SSR.

***

### slug

> **slug**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:718](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L718)

Environment slug/identifier to update.

***

### whitelistedIps?

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/env.ts:763](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/env.ts#L763)

IP whitelist (CIDR blocks, space-separated).
