docs/learn/unclaim-reclaim-node.md
:::note
What's the difference between unclaiming/reclaiming and removing a node?
| Action | What it does | Agent status |
|---|---|---|
| Unclaim & Reclaim | Disconnect from current Space, connect to a new Space | Agent keeps running |
| Remove | Permanently delete node from Netdata Cloud | Agent may keep running but disconnected |
If you want to move a node to a different Space, use the unclaim and reclaim process on this page.
If you want to permanently remove a node from Netdata Cloud entirely, see our guide: Removing a node from your Netdata Cloud Space
:::
This guide covers how to move a node from one Space to another without removing it from Netdata Cloud entirely.
You might need to move a node to a different Space when:
:::info
Need a claim token? See Regenerate Claiming Token to generate a new token for your Space (Space Administrator required).
:::
See our Reconnect Agent guide for the exact commands to:
:::warning
Restart the agent after removing cloud.d/
If you don't restart the agent after removing /var/lib/netdata/cloud.d/, the node will remain connected to Netdata Cloud until the agent restarts.
To apply the unclaiming change immediately, run:
sudo systemctl restart netdata
:::
Run the standard claim command with your new Space's token:
bash <(curl -Ss https://get.netdata.cloud/kickstart.sh) --claim-token YOUR_NEW_TOKEN --claim-rooms YOUR_ROOMS --claim-url https://app.netdata.cloud
Create /INSTALL_PREFIX/etc/netdata/claim.conf with:
[global]
url = https://app.netdata.cloud
token = NETDATA_CLOUD_SPACE_TOKEN
rooms = ROOM_KEY1,ROOM_KEY2
Then restart the agent or run:
netdatacli reload-claiming-state
For Docker/container deployments, set:
NETDATA_CLAIM_TOKEN=YOUR_NEW_TOKEN
NETDATA_CLAIM_ROOMS=ROOM_KEY1,ROOM_KEY2
After reclaiming, verify the node appears in:
Node doesn't appear in new Space:
/var/lib/netdata/cloud.d/ was removed before reclaimingjournalctl --namespace netdata -b 0 | grep -i CLAIMgrep -i CLAIM /var/log/netdata/daemon.logReconnection fails:
curl http://localhost:19999/api/v1/aclkapp.netdata.cloud