> For the complete documentation index, see [llms.txt](https://docs.connect.jfrog.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.connect.jfrog.io/features-new-ui/devices/view-device-details/remove-a-device.md).

# 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](/features-new-ui/tools/remote-tools-overview/control-center-remote-ssh-commands.md) 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>](/features-new-ui/devices/view-device-details.md) 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](/features-new-ui/tools/remote-tools-overview/control-center-remote-ssh-commands.md) to your device.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.connect.jfrog.io/features-new-ui/devices/view-device-details/remove-a-device.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
