Tenant
Create new tenant. The user who creates the tenant is given the super admin role.
POST
http://localhost:3000/api/tenant
Body
application/json
namestringrequiredlogostringimageIdstringstripeCheckoutSessionIdstringStripe Checkout Session id (cs_live_... / cs_test_...)
Response
201Created
The record has been successfully created.
400Bad Request
Invalid input, The response body may contain clues as to what went wrong
Authorization
roleScopes: SUPER_ADMIN