foliolib.helper.tenant.uninstall_tenant
- foliolib.helper.tenant.uninstall_tenant(tenantid, **kwargs)
Disable all modules of a tenant and remove tenant.
- Parameters
tenantid ([type]) – tenant id.
**kwargs (properties) – Keyword Arguments
- Keyword Arguments
invoke (boolean) – default = true Whether to invoke for tenant init/permissions/purge
purge (boolean) – default = false Disabled modules will also be purged.
simulate (boolean) – default = false Whether the installation is simulated