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
namestringrequired
imageIdstring
stripeCheckoutSessionIdstring

Stripe 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

role

Scopes: SUPER_ADMIN

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey