![](/img/trans.png)
[英]WSO2 api manager 1.7.0 - how to dynamically get the endpoint from a custom remote registry
[英]Delete a Tenant in WSO2 API Manager 1.7.0
是否可以在WSO2 API Manager 1.7.0中刪除租戶?
如何才能做到這一點 ?
停用租戶對我來說還不夠。
謝謝
您可以通過WSO2產品的任何管理服務API(稱為RemoteTenantManagerService
來執行此RemoteTenantManagerService
。 有一個名為deleteTenant
的操作。
通過將值更改為true來啟用管理服務
<HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
啟動APIM
使用通過https:// abimaran:9443 / services / RemoteTenantManagerService?wsdl提供的Web 服務
有一個名為deleteTenant
。 您可以提供要刪除的租戶ID。
請注意,在理想情況下,這些管理服務在每個WSO2產品上的名稱都相同。 但是,我們並不生活在一個完美的世界中,而且它們並不總是同一個名字。 例如,ESB 4.9.0上的Tenant Admin服務被稱為“ TenantMgtAdminService”與“ RemoteTenantManagerService”。
您應該始終參考單個產品的有關在carbon.xml文件中啟用AdminServices WSDL的說明,然后使用wso2carbon.bat / .sh開關-DosgiConsole在osgi Console中啟動該產品,然后輸入“ listAdminServices”以查找名稱該特定WSO2產品的租戶管理管理員服務。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.