---
title: "admDeleteAccount"
canonical: "https://support.appfire.com/space/PSJC/720902708/admDeleteAccount"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Removes an account from the system.

Removes an account from the system. 
NOTE: Requires admin token to be set!

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admDeleteAccount(accountId) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | [use "adm";
deleteAccount(accountId);] |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| accountId | string | Yes | The user id |

## Return Type

**boolean**

## See also

> Macro (contentbylabel)