Hello, I use identityservice in Java to update tenant information, but I can’t find the relevant API.
Is there a way to achieve this?
Is there a way to achieve this?
IdentityService.saveTenant(Tenant) is the method for it:
/**
* Saves the tenant. If the tenant already existed, it is updated.
*/
void saveTenant(Tenant tenant);
Use this query to retrieve the Tenant by it’s id.
Tenant tenant = this.identityService.createTenantQuery().tenantId( tenantId ).singleResult();
Thank you very much.