Uninstall Agent

To remove a device from managed, see Remove (Decommission) Device from Managed Devices for the complete workflow. There are additional steps before and after uninstalling the agent as shown below.

  1. From the left navigation menu, navigate to Devices > Managed Devices to go to the managed devices table view.
    Juniper Apstra UI showing Managed Devices section for network management with navigation panel, breadcrumb trail, and action buttons for creating agents.
    Note:

    When you uninstall a device agent, the pristine configuration is restored on the device by default. If you want to retain existing configuration, click Advanced Settings and check the box to Skip Revert to Pristine on Uninstall.

    Advanced Settings section with options for device management during upgrades: Skip Pristine Configuration Validation, Skip Revert to Pristine on Uninstall, Skip Shutting Down Interfaces During Upgrade, Device Image OS Download Timeout default 1800 seconds. Update button at the bottom.

  2. Check the box(es) for the device(s), then in the Agent Actions panel that appears above the table, click the Uninstall button.
    Managed Devices interface showing a table with device details like IP address, OS, and state. The first device is selected, and the Uninstall button is highlighted.
    The Uninstall selected elements dialog appears.
  3. Click Uninstall selected elements, then click Close to uninstall the agent and return to the Managed Devices table.