---
url: /process-functions/alias-delete.md
description: Deletes an alias from within a dimension permanently.
---

# alias.delete

Deletes an alias from within a dimension permanently.

```js
alias.delete(dimensionName, aliasName)
```

## Parameters

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

## Returns

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

## Examples

```js
alias.delete("Account", "No - Name");
```

## Related

* [alias.wipe](/process-functions/alias-wipe): wipes the data on an alias within a dimension, keeping the alias itself.
