ev-server
ev-server copied to clipboard
How to programatically create and operate tenants?
Hi!
We have some doubts about the architecture of the server, we want to operate the server through the API mainly, not using the client. What we found out is:
- The super admin can only create/delete tenants, it can't operate the tenant itself. Is that correct?
- When the super admin creates a tenant throught the API (POST to /api/tenants), how do we operate that tenant after that throught the API? Is an Admin user created automatically for that tenant that we can start using?
- We kinda miss an overview of the data model, tokens seem to be related to SiteArea, which in turn are related to Site, which in turn are related to Tenant. Is that correct?
thanks a lot!!