Tenant life cycle
The tenant life cycle is bounded by the creation and deletion of the tenant. Other events can be added to the tenant life cycle, such as notification of deletions.
Create tenants from the Designer Studio> System > Tenant Management landing page or from the SOAP service. In either case, an organizational structure, application, and access groups must be created manually in the tenant after its creation, using Application Express, or programmatically in the setup activity. Similarly, the tenant can be deleted from the UI or the SOAP service.
Self-service systems allow users to sign up for applications from the web. With a multitenant solution, a tenant is created for each user and similarly, depending on the application, automated deletion of the tenant might be required.
One best practice for multitenant applications is to have a defined tenant life cycle. It is necessary for capacity planning for development, test, and production systems.