---
url: /process-functions/dimension-wipe.md
description: >-
  Removes every element from a dimension, along with its hierarchies' structure.
  The dimension itself is kept.
---

# dimension.wipe

Removes every element from a dimension, along with its hierarchies' structure. The dimension itself is kept.

```js
dimension.wipe(dimensionName)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `dimensionName` | `string` | The dimension's name. |

## Returns

An empty string when it succeeds, or an error message when the dimension can't be found.

## Examples

```js
dimension.wipe("Account");
```
