LogoLogo
What's New?Connect Agent ReleasesBook a DemoPricing
  • Documentation
  • Developers
  • Administration
  • OVERVIEW
    • JFrog Connect Overview
      • Architecture Overview
        • Connect Agent
        • Connect & JFrog Platform
      • Plan Your Update Strategy
        • Software Update Objectives & Concepts
        • Software Update Process & Procedures
  • Get Started
    • Create JFrog Connect Account
    • Log in to JFrog Connect
    • Network Requirements
    • Register Device
  • Manage your Fleet
    • Register Devices at Scale
      • Freeze Image on Device
      • Build Image with Agent
    • Register & Update Device at Once
    • Organize Your Fleet
      • Create Project
      • Move Device between Projects
      • Create Groups
        • Add Device to Group
        • Add Many Devices to Group
        • Change Group Name
        • Delete Group
      • Tag Devices
        • Remove a Tag
      • Remove Many Devices
  • Devices
    • Fleet Overview
      • Filter Devices
      • Locate Devices
    • Device Details
      • Delete a Device
      • Block Updates with Update Trigger
    • Update Connect Agent
    • Delete Many Devices
  • Deployment
    • Create Update Flow
      • Actions
        • Run Command
        • Run Script
        • Deploy File
        • Deploy Docker
          • Use Docker Image
          • Use Docker Compose
          • Get Artifactory Parameters
        • Clone Git Repository
        • Download Artifact
          • Get Artifactory Path
        • Download Release Bundle
          • Get Artifactory Parameters for Release Bundle
        • Update Image
        • Install Debian Package
          • Get Artifactory Parameters for Debian
      • Use Update Parameters
      • On Failure & Rollback
      • Vulnerability Scans
      • Sample Use Case: Build Update Flow for Reuse
    • Deploy Software
      • Set Application & Version
      • Set Alert upon Failure
      • Set Phased Rollout
      • View Deployment Progress
        • Detailed Deployment Information
        • Abort a Deployment
      • Deploy in Groups
      • Sample Use Case: Deploy Docker Images to Devices
  • Tools
    • Remote Tools
      • Use Terminal
      • Open Port Tunnel Session
        • Access with VNC
        • Connect with SSH
        • Access Device Web Applications
      • Run Commands Remotely
        • Run Command as Non-Root User
      • Get Device Files (Fetch Files)
    • Alerts
      • Create Channel
      • Set Webhook
    • Monitor
      • Resource Monitor
      • Process Monitor
  • Releases
    • What's New?
    • Connect Agent Release Notes
  • Troubleshooting
    • Connect Server Status
    • Troubleshoot Topics
      • Device Registration
      • Display issue - "0.0"
      • Micro update
      • Remote control
Powered by GitBook
On this page
  • Delete Devices by Deleting Group
  • Delete Devices by Deleting Project
  • What’s Next?

Was this helpful?

Export as PDF
  1. Devices

Delete Many Devices

Delete devices in bulk in JFrog Connect.

PreviousUpdate Connect AgentNextCreate Update Flow

Last updated 22 days ago

Was this helpful?

If you are reorganizing your fleet and need to remove several devices at once, has two convenient methods to accomplish this. You can move all the relevant devices into a single group, then delete the group, or you can move all the relevant devices into a single project, then delete the project. Both procedures are described below.

Tip: If you just need to remove a single device, see .

Delete Devices by Deleting Group

To remove bulk devices by deleting a group, do the following:

  1. Gather all the devices that you want to delete into a single group by following the procedure in .

  2. Uninstall the Connect Agent from each of the devices. This requires the following steps:

    1. Create a new update flow that uses the Run Command action. In the Command field, enter the command below: 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 ;

    2. Deploy the update flow. When you select devices in the deployment creation, choose the Group that you created in Step 1. After the deployment is completed successfully on all the devices in the group, continue to the next step.

  3. Delete the group by following the procedure in . When you delete a group, all the devices in that group are also deleted.

Delete Devices by Deleting Project

To remove bulk devices by deleting a project, do the following:

  1. Gather all the devices that you want to delete into a single project by following the procedure in .

  2. Uninstall the Connect Agent from the devices. You can use the same update flow and command as in Step 2 above. However, when you create the deployment and select devices, choose All Groups in the project. After the deployment is completed successfully, continue to the next step.

  3. Delete the project by following the procedure in . When you delete a project, all the devices in that project are also deleted.

What’s Next?

At this stage, you might want to refresh your memory on how to .

JFrog Connect
Delete a Device
Add Many Devices to Group
Delete Group
Move Device Between Projects
Delete Project
Register Devices at Scale