---
name: "removeAllOwnedMines"
type: command
status: ok
groups: ["Mines"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/removeAllOwnedMines
revid: 310204
updated: 2022-05-05T13:10:41Z
---

# removeAllOwnedMines

*Command · Mines · Arma 3 v1.62*

## Description

Removes ownership of all owned mines/explosive devices of the given unit

## Syntax

```sqf
removeAllOwnedMines unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
removeAllOwnedMines player;
```

## See also

[allMines](../commands/allMines.md) · [createMine](../commands/createMine.md) · [detectedMines](../commands/detectedMines.md) · [mineActive](../commands/mineActive.md) · [removeOwnedMine](../commands/removeOwnedMine.md) · [addOwnedMine](../commands/addOwnedMine.md)

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