Money and account
Disconnect, delete or uninstall
There are three ways to remove a server, from gentlest to final. Pick the one that matches what you want to keep.
| You want to | Use | What happens to its history |
|---|---|---|
| Stop it sending for now: a rebuild, a pause, or you are not sure | Disconnect | Kept until it expires: logs 7 days, metrics 30, history 90 |
| Remove it and erase everything it sent | Delete | Erased for good after 7 days; until then you can restore it |
| Take the agent off the machine | kiyesi uninstall on the server |
Untouched: disconnect or delete it in the dashboard too |
Disconnecting and deleting need Manage on servers and findings: the Owner or Admin role, or a role you made with it.
Disconnect
Section titled “Disconnect”Open the server’s page and go to Disconnect or delete, the red section at the bottom of the page (it is also the last entry in On this page, beside the page on a wide screen). Choose Disconnect.
- Its token stops working at once, so the agent can no longer send.
- It shows as Disconnected and no longer raises server silent alerts. Its open alerts close without a message.
- Its scans, metrics, logs and history stay, and expire as usual.
To connect it again, open the server and choose Connect it again. Kiyesi makes a new token (it asks for a code from your authenticator app); run the command it shows on the server. Its history carries on.
kiyesi servers disconnect old-web-1kiyesi servers reconnect old-web-1Delete
Section titled “Delete”On the server’s page, go to Disconnect or delete at the bottom, then choose Delete server. Type the server’s name and a code from your authenticator app.
- At once: its token stops working, it disappears from every screen, and its name is free for a new server. Everyone who runs the account (Manage on settings) and can see that server gets an email saying who deleted it, with a link to undo it.
- For 7 days: someone with Manage on servers and findings can bring it back, with everything it sent, under Settings, Deleted servers, Restore. It comes back disconnected; choose Connect it again to start sending.
- After 7 days: its scans, alerts, mutes, history, deploys, metrics, log lines, incidents, scheduled jobs, databases, price, installed software, advisories, tips, data map rows and, for a managed service, what its platform sent are erased for good, from every store. History keeps one line saying who deleted it, and the activity log keeps who did it.
kiyesi servers delete old-web-1kiyesi servers restore old-web-1kiyesi servers delete asks you to type the name again and the code. In a script, give them as --confirm old-web-1 --code 123456.
Uninstall the agent
Section titled “Uninstall the agent”On the server itself:
sudo kiyesi uninstallIt asks first (or add --yes), then stops and removes the kiyesi service, the token and settings in /etc/kiyesi, the results waiting in /var/lib/kiyesi, and the kiyesi program. Add --keep-program to keep the program for one-off scans.
Uninstalling cannot touch what the server already sent: a server’s token can only send results, never delete them. So also disconnect or delete the server in the dashboard.
Servers that stopped long ago
Section titled “Servers that stopped long ago”A server that has not reported for 30 days says so on its page and suggests disconnecting or deleting it. Nothing is ever removed on its own.