---
name: "deleteIdentity"
type: command
status: ok
groups: ["Unit Identity"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/deleteIdentity
revid: 348911
updated: 2023-11-08T14:40:02Z
---

# deleteIdentity

*Command · Unit Identity · Arma 3 v0.50 · introduced in Operation Flashpoint v1.75*

Locality: effect **local**

## Description

Deletes an identity created with [saveIdentity](../commands/saveIdentity.md) from the campaign's progress file.

## Syntax

```sqf
deleteIdentity identityName
```

**Parameters:**

- `identityName`: [String](../topics/String.md) - name of the saved identity

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if the identity was deleted successfully, [false](../commands/false.md) if not

## Examples

### Example 1

```sqf
_deleted = deleteIdentity "playerIdentity";
```

## See also

[saveIdentity](../commands/saveIdentity.md)

<sub>Source: [BI Community Wiki — deleteIdentity](https://community.bistudio.com/wiki/deleteIdentity) (revision 348911).</sub>
