Remove Organization
Danger
When the Organization is removed, there is no way to restore it or its data.
Organization Server
- Stop all components.
cd /opt/synkzone/organization docker compose down - Delete the VM.
- Delete storage bucket belonging to the Organization (if remote storage is enabled).
World Server
Only one organization can be removed at a time.
Perform the full instructions below per organization to be removed.
- Ensure instance property OrganizationMonitor is true (
OrganizationMonitor=true). - Create the
world/appdata/removed_organizationsfile. - Add the names the organization to be removed to the
removed_organizationsfile - Wait for the
removed_organizationsfile to be removed from disk. - If necessary (ex. re-installing organization with the same name) revoke the organization certificate.
Note
OrganizationMonitoris set totrueby default since release 3.11.- When the Organization is successfully removed, the
removed_organizationsfile is deleted from the World Server.
Example
cd /opt/synkzone/world
echo 'acme' >> world/appdata/removed_organizations
docker compose restart
until ! test -e world/appdata/removed_organizations &>/dev/null; do sleep 1; done && echo "Organization removed!"