CelloSaaS only provides option to soft delete a Tenant using dashboard and not hard delete. Because hard deleting involves deleting dependent data from the application. For example, if you had built an SaaS ERP  application using techcello and if a tenant you are trying to delete has left some data in the application, you have to make sure all the application related data are hard deleted before deleting the Tenant details from the application, because the tenant id is referenced in all the application related tables.


Once all the application related data of the tenant is removed, you can call the below API to hard delete the Tenant details from the CelloSaaS application.


Syntax:


CelloSaaS.ServiceProxies.TenantManagement.TenantProxy.PermanentDeleteTenant(string tenantId)


Example:


CelloSaaS.ServiceProxies.TenantManagement.TenantProxy.PermanentDeleteTenant("B590CD25-3093-DF11-8DEB-001EC9DAB123")


3.