Remove a device or a person
Take a device off the network, offboard someone completely, and understand which actions cut access immediately and which don't.
Updated · ·By Ivan Vyshniak
Nothing on this page changes with your selection.
What each action does
| Action | Where | Effect on the network | Ends the device's session? |
|---|---|---|---|
| Remove from network | Devices → ⋯ | Within a few seconds the device loses all peers, and every peer stops sending to it and accepting its traffic, including connections that were already open. | Yes, in this network |
| Force log out | The device's page | The device signs out within about a minute and must sign in again. Works only for devices under your own account. | Yes |
| Remove member | Members → ⋯ | The person leaves the network and their auth keys in it are revoked. Signing in again doesn't put them back. Their devices stay connected. | No |
| Removing a shared device's last tag | Devices → ⋯ → Edit tags | The device is signed out and must sign in again. | Yes |
| Changing the access policy | Access | New connections follow the new rules within about 10 seconds. Open TCP connections continue. | No |
Remove a device
- Open Devices and find the device.
- Open its ⋯ menu and choose Remove from network, and confirm.
The device disappears from the list. Removal deletes its name, address and tags in this network.
Removal also signs the device out of this network, within a few seconds. It can't rejoin on its own: someone has to sign it in again with peerlify login, or with an auth key that is still valid. Its sessions in other networks are not affected. To make sure it stays out:
- if its owner is still a member, they can sign it in again; remove the person too, or
- turn on Manual device approval (Settings → Device Management) so that a device signed in again waits for approval, and
- revoke reusable auth keys it was enrolled with (Settings → Keys).
A device that rejoins gets the lowest free address, which is often the one it had before, so rules that use ip: can match it again.
Offboard a person
Do these in order:
- Remove their devices from the network, as above. Search Devices for their name; the search matches the owner's display name, not their email address.
- Remove them on the Members page.
- Revoke API tokens they created. Tokens aren't revoked automatically, and the token list doesn't show who created each one: find their
api_token.createentries in Logs → Admin panel, then revoke those tokens in Settings → Keys → API access tokens. - Check shadowing and access rules that name them with
email:. Rules referring to people who left match nothing, but are worth cleaning up.
A removal sticks
Some people join a network automatically when they sign in: members of its GitHub organization, people from its Microsoft Entra tenant or Google Workspace, and people who sign in through its single sign-on. If you remove one of them on the Members page or through the API, their later sign-ins don't add them back; they keep only their own network. To let them back in, send them an invite. Accepting it lifts the removal.
Someone leaves your GitHub organization
People who joined a network automatically because they are in its GitHub organization lose that membership at their next GitHub sign-in after they leave the organization, or after the organization is deleted. Peerlify removes them only when GitHub confirms it: if GitHub doesn't answer, or your organization's OAuth app access restrictions hide the membership from Peerlify, they keep access. The removal works like Remove member: their auth keys in the network are revoked, their devices stay, and the audit log shows the removal by Peerlify. Unlike Remove member, it doesn't stick: if they rejoin the organization, their next sign-in adds them again.
It never removes the network's Owner, people who joined through an invite, people an admin added, or people who were already in a network Peerlify made for the organization before it tracked organizations by ID. Remove those on the Members page. Someone who left the organization but doesn't sign in again stays a member until you remove them, so offboard them as above.
Disabling the person at your identity provider stops new sign-ins through that provider, but doesn't end sessions that already exist: their device sessions, and a sign-in session in their browser, which renews whenever they use the console. That's why removing them in Peerlify matters. The exception is a network with user and group provisioning: there, deactivating or unassigning them in Microsoft Entra ID or Okta suspends them in the network and ends their device sessions in it, and that is how you remove them.
A device you no longer have
If a device is lost or stolen, see Respond to a security incident.