Use swcfmg_tenant to delete a tenant. Refer to "swcfmg_tenant (Tenant Information Management Command)" in the Reference Guide for details.
Confirm the following before deleting a tenant:
Confirm that no users or server groups exist within the tenant by executing the User Group Information Management command with the -list option or with the Server Group Information Management command with the -list option. If a user or a server group exists, perform one of the steps below before deleting the tenant.
Move the user or server group to another tenant
Refer to "2.1.4 Moving a User" for details on how to move a user. For details on how to move server groups, refer to "2.3.3 Moving a Server Group".
Delete the user or the server group.
For details on how to delete a user, refer to "2.1.5 Deleting a User". For details on how to delete server groups, refer to "2.3.5 Deleting a Server Group".
Execute the Asset Information Management command with the -list option or the Configuration Modification Template Information Management command with the -list option and confirm that there are no assets or configuration modification templates within the tenant scope. If the corresponding asset or configuration modification template exists, perform one of the steps below before deleting the tenant.
Change the scope of the asset or configuration modification template
For details on how to change the scope of an asset, refer to "2.7.2 Updating an Asset". For details on how to change the scope of the configuration modification template, refer to "2.6.2 Updating a Configuration Modification Template".
Delete the asset or configuration modification template
For details on how to delete an asset, refer to "2.7.3 Deleting an Asset". For details on how to delete a configuration modification template, refer to "2.6.3 Deleting a Configuration Modification Template".