# Delete a device

## Overview

[Video: Delete a device](https://www.youtube.com/watch?v=WwhIWFtKInE)

This flow describes how to delete a [device](https://docs.ohc.network/concepts/facility/device.md) from the facility. After you delete a device, Care no longer shows it in lists or pickers.

## Pre-requisites

* The device is registered in the facility. To see the device, you hold a role in a department of the device.
* The departments of a device are the Administration department of the facility, its managing department and that department's parents.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Manage Devices on Facility | Delete the device. You must hold it in a department of the device. By default, the Facility Admin, Staff and Pharmacist roles hold this permission. |

Note: Care shows **Delete** to every user who can open the device page. Only users with "Can Manage Devices on Facility" can delete the device.

## Steps

### 1. Open the device

1. In the facility sidebar, select **Settings**.
2. Under **Facility**, select **Devices**.
3. Select the card of the device. Care opens the device page.

![The device page of BP Monitor BP-03, with its name, the user friendly name Old BP Monitor 3 and the Active and Damaged badges outlined](/assets/images/delete-device-1-2655c20b7636ee07e6ddf0045b260d04.webp)

### 2. Go to the Danger Zone

On the **Overview** tab, go to the **Danger Zone** card at the bottom.

The card shows **Delete this device** and the warning **Once you delete a device, there is no going back. Please be certain.**

![The Danger Zone card at the bottom of the Overview tab outlined, with Delete this device, the warning Once you delete a device, there is no going back. Please be certain., and the Delete button](/assets/images/delete-device-2-df72435e99cd979d8464577ca642d6c0.webp)

### 3. Select Delete

Select **Delete**.

Care opens the **Delete Device** dialog. The dialog asks **Are you sure you want to delete this device? This action cannot be undone.**

![The Delete Device dialog outlined, asking Are you sure you want to delete this device? This action cannot be undone., with Cancel and Delete buttons](/assets/images/delete-device-3-11c2afd13b36f64f5a4fe81bfd332f94.webp)

### 4. Confirm the delete

In the dialog, select **Delete**.

The button shows **Deleting...** while Care deletes the device.

![The Delete Device dialog with its Delete button outlined](/assets/images/delete-device-4-4df3561c9a286ee9c31658ec42ec6568.webp)

![The Devices list after the delete, with the device cards outlined; BP Monitor BP-03 is no longer listed and no message is shown](/assets/images/delete-device-5-998e3af68dcc1f1f7418fcd3e1034087.webp)

## Expected Outcome

* Care opens the devices list. Care does not show a success message.
* The device no longer shows in the devices list or in the device picker of an encounter.
* The device no longer shows in the **Devices** tab of an encounter.
* Care keeps the device record and its location, encounter and service history, but marks the device as deleted.

## Related

Concepts:

* [Device](https://docs.ohc.network/concepts/facility/device.md)

Flows:

* [View devices](https://docs.ohc.network/flows/facility/device/view-devices.md)
* [Edit a device](https://docs.ohc.network/flows/facility/device/edit-device.md)
* [Create a device](https://docs.ohc.network/flows/facility/device/create-device.md)
