This documentation is for WSO2 API Manager 2.5.0. View documentation for the latest release.

All docs This doc

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: ✉️ Creation of tenant via admin service


  1. Click the Visit Store link associated with a given store to open it.
  2. Anonymous users can browse all stores and all public APIs that are published to them. However, in order to subscribe to an API, the user must log in.

    For example, if you are a user in the tenant domain,

    • You can access the public store (https://localhost:9443/store), go to the store, log in to it and subscribe to its APIs.
    • You can also browse the other tenant stores listed in the public store. But, within other tenant stores, you can only subscribe to the APIs to which your tenant domain is permitted to subscribe to. At the time an API is created, the API creator can specify which tenants are allowed to subscribe to the API. For information, see API Subscriptions.

    Other tenant management operations such as activating, deactivating, updating and deleting, which are not available in the Management Console UI, can be done through the RemoteTenantManager TenantMgtAdminService Admin Service. You You can invoke these operations using using a SOAP client like SOAP UI. Follow the steps below to do the onfigurations using SOAP UI.

      1. Open the <API-M_HOME>/repository/conf/carbon.xml file and set HideAdminServiceWSDLs parameter to false.
      2. Start SOAP UI client, and import the WSDL https://localhost:9443/services/RemoteTenantManagerServiceTenantMgtAdminService?wsdl. This assumes that you are running the SOAP UI client from the same machine as the API Manager instance.

      3. Note that there are several operations shown in the SOAP UI after importing the wsdl file:
        Image Removed.
      4. Click on each operation to open the request view. For an example, for activateTenant operation, you can see the following request view:

      5. You can invoke the RemoteTenantManager TenantMgtAdminService Admin service and do the tenant activation operation with the corresponding tenant ID. You can perform the other operations via SOAP UI as well. Note that you need to set the admin user credentials from the SOAP UI to invoke tenant admin operations.

    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.