Hi John,

You can find the relevant  service in [1].

[1]
https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt/src/main/java/org/wso2/carbon/tenant/mgt/services/TenantMgtAdminService.java


Thanks
Godwin


On Fri, Feb 26, 2016 at 10:10 AM, Rukshan Premathunga <ruks...@wso2.com>
wrote:

> Hi John,
>
> You can find the code to create tenant at here[1]. But it use the soap
> admin service.
>
> [1]
> https://github.com/ruks/wso2.apim.sample/blob/master/com.rukspot.apimgt.stat/src/main/java/com/rukspot/apimgt/stat/TenantMgt.java
>
>
> Thanks and Regards.
>
> On Fri, Feb 26, 2016 at 9:49 AM, Danushka Fernando <danush...@wso2.com>
> wrote:
>
>> There is a soap api. You can use TenantMgtService.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Fri, Feb 26, 2016 at 3:35 AM, John Q <johnq3...@gmail.com> wrote:
>>
>>> Hello everyone,
>>>
>>> I am wondering if there is a rest api for carbon to create tenants?
>>>
>>> I saw that private paas have a rest api for creating tenant, but i only
>>> have installed , wso2is, wso2am and wso2esb and don't use the private paas.
>>>
>>> If there is such api please where can i find it?
>>>
>>> Thanks,
>>> John
>>>
>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> Architecture@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> d...@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
>
> _______________________________________________
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to