# Delete a Device

Removing a device completely from your fleet in JFrog Connect requires the following procedures:

1. Uninstall Connect Agent from Device
2. Delete Device from Connect Server

In both steps, which are described below, ensure that the device chosen is the device you intend to remove.

## Step 1: Uninstall Connect Agent from Device

To remove the Connect Agent from the device, run the command below by physically accessing the device terminal or by using the [Remote Commands](https://docs.connect.jfrog.io/features-new-ui/tools/remote-tools-overview/control-center-remote-ssh-commands) feature from the Connect web UI.

```
systemctl disable upswift --now 2>/dev/null ; systemctl disable connect --now 2>/dev/null ; rm -rf /etc/upswift/ /etc/connect/ /etc/system/systemd/upswift.service /etc/system/systemd/connect.service 2>/dev/null ;

```

## Step 2: Delete Device from Connect Server

To delete a device from the Connect server, do the following:

1. In the [<mark style="color:blue;">Devices</mark>](https://docs.connect.jfrog.io/features-new-ui/devices/view-device-details) page, click the **More** icon (three dots) at the end of the row of the relevant device.
2. Click **Delete Device** and **Delete**.

## What’s Next?

Learn how to [send remote commands](https://docs.connect.jfrog.io/features-new-ui/tools/remote-tools-overview/control-center-remote-ssh-commands) to your device.
