---
url: /process-functions/hierarchy-wipe.md
description: Wipes the elements of a hierarchy.
---

# hierarchy.wipe

Wipes the elements of a hierarchy.

```js
hierarchy.wipe(dimension, hierarchy)
```

#### Parameters

* `Dimension` - The dimension in which the selected hierarchy exists.
* `Hierarchy` - The identifier of the hierarchy to be wiped.

#### Example

```js
hierarchy.wipe("Account", "Default");
```
