Skip to content

Deleting Device does not remove completly #1276

Closed

Description

@gnulan

After deleting router from setting / fleet, stub still remains in Devices / Agents. No method to remove from agents list.

Activity

  1. gnacho commented on Oct 6, 2026

    @gnacho
    Owner

    Fixed in #1291: deleting a router now cleans up everything behind it - the persisted agent state, the transport record, the agent registry entry (the stub you saw) and the client-registry row learned from its bridge MAC. The agent's token is revoked too, so if the agent is still installed on the box it gets a 401 on its next push and stops silently re-creating the entry.

    One consequence to be aware of: since the token is gone, re-adding that router later requires re-pairing its agent (a reinstall). That is the trade-off for the stub being actually gone.

    In main, shipping with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions