📝 Inquiry
Hi,
I’m currently using ZTNet to manage ZeroTier networks for different customers, and I ran into a limitation that I’m trying to solve safely.
I have an existing ZeroTier network that is currently associated with one organization/user in ZTNet, but I need to move that same network to another organization so the customer can only see and manage their own network.
The important constraint is that I cannot delete and recreate the network, because I do not have access to all remote hosts. Those hosts are already joined to the current ZeroTier Network ID, so creating a new network would generate a different Network ID and would require re-joining all endpoints manually, which is not feasible.
What I need is a way to reassign or transfer the existing network inside ZTNet while preserving:
the same ZeroTier Network ID
current members/devices
assigned IPs
routes
authorization status
existing network configuration
In other words, I do not need to migrate the ZeroTier network itself. I only need to change which ZTNet organization/user owns or sees that existing network.
I noticed that ZTNet stores network ownership information such as authorId and organizationId in the database. Would it be safe to update those fields manually in PostgreSQL to move the network to another organization? For example, changing the network’s organizationId and authorId to match the customer organization and its admin user.
Something like:
UPDATE network
SET "organizationId" = '<target_organization_id>',
"authorId" = '<target_user_id>'
WHERE nwid = '<existing_network_id>';
Before doing this, I wanted to ask if this is the correct approach, or if there is an official/recommended way to transfer an existing network between organizations in ZTNet without changing the Network ID.
Could this cause any issues with members, routes, permissions, or future updates in ZTNet?
Thanks in advance for your help. This feature would be very useful for managed service providers who need to separate customer visibility without touching existing remote devices.
Best regards,
🔖 Version
0.7.18
🔧 Deployment Type
💻 Operating System
Ubuntu
🌐 Browser
Other
📚 Any Other Information That May Be Helpful
No response
📝 Inquiry
Hi,
I’m currently using ZTNet to manage ZeroTier networks for different customers, and I ran into a limitation that I’m trying to solve safely.
I have an existing ZeroTier network that is currently associated with one organization/user in ZTNet, but I need to move that same network to another organization so the customer can only see and manage their own network.
The important constraint is that I cannot delete and recreate the network, because I do not have access to all remote hosts. Those hosts are already joined to the current ZeroTier Network ID, so creating a new network would generate a different Network ID and would require re-joining all endpoints manually, which is not feasible.
What I need is a way to reassign or transfer the existing network inside ZTNet while preserving:
the same ZeroTier Network ID
current members/devices
assigned IPs
routes
authorization status
existing network configuration
In other words, I do not need to migrate the ZeroTier network itself. I only need to change which ZTNet organization/user owns or sees that existing network.
I noticed that ZTNet stores network ownership information such as authorId and organizationId in the database. Would it be safe to update those fields manually in PostgreSQL to move the network to another organization? For example, changing the network’s organizationId and authorId to match the customer organization and its admin user.
Something like:
UPDATE network
SET "organizationId" = '<target_organization_id>',
"authorId" = '<target_user_id>'
WHERE nwid = '<existing_network_id>';
Before doing this, I wanted to ask if this is the correct approach, or if there is an official/recommended way to transfer an existing network between organizations in ZTNet without changing the Network ID.
Could this cause any issues with members, routes, permissions, or future updates in ZTNet?
Thanks in advance for your help. This feature would be very useful for managed service providers who need to separate customer visibility without touching existing remote devices.
Best regards,
🔖 Version
0.7.18
🔧 Deployment Type
💻 Operating System
Ubuntu
🌐 Browser
Other
📚 Any Other Information That May Be Helpful
No response