問題描述
WSO2 APIM 和 EI 是否支持 API 刪除現有租戶? (Does WSO2 APIM and EI support API to delete an existing tenant?)
如果有,是哪個版本?是否支持級聯刪除操作?
參考解法
方法 1:
Tenant deletion is supported with an admin service as explained here.
https://apim.docs.wso2.com/en/latest/administer/multitenancy/managing‑tenants/
All the versions of APIM should have this capability ‑ 2.x, 3.x and 4.0 versions.
The admin service is https://localhost:9443/services/RemoteTenantManagerService?wsdl
方法 2:
V 2.x does not support it. V 4.x supports it but not fully ‑ see here.
Warning : If you perform operations such as tenant deletion, even though the tenant details are removed, any data stored in registry, file system, other databases, etc. will not be removed. Such data will need to be removed manually.
(by Amit Agrawal、Pubci、Amit Agrawal)