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

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

# Interface: InvalidateCacheOptions

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

Options for invalidating cache.

## Properties

### origin?

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

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

MRT API origin URL.

#### Default

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

***

### pattern

> **pattern**: `string`

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

Path pattern to invalidate on the CDN.
Must start with a forward slash (/).
Use /* to invalidate all cached paths.

***

### projectSlug

> **projectSlug**: `string`

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

The project slug.

***

### targetSlug

> **targetSlug**: `string`

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

The target/environment slug.
