---
title: "admDeleteUser"
canonical: "https://support.appfire.com/space/PSJ/15489463/admDeleteUser"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admDeleteUser(usernameOrKey) | **Package** | adm |
| **Alias** | deleteUser | **Pkg Usage** | deleteUser(usernameOrKey) |

## Description

> Macro (excerpt)
> 
> Deletes a user from Jira's internal directory.

Deletes a user from Jira's internal directory.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| usernameOrKey | string | Yes | Username or user key. |

## Return Type

**Boolean**

Returns "true" if the user was deleted and "false" if not.

## Example

```
return admDeleteUser("user");
```

## See also

> Macro (contentbylabel)