POST
/
tenants

Body

application/json
name
string
required
Required string length: 4 - 32
environment
enum<string>
required
Available options:
development,
staging,
production
orgId
string | null
slug
string
Required string length: 4 - 32
plan
string
paymentMethodId
string
paymentMethodBrand
string
paymentMethodLast4
string
domain
string

Response

200 - application/json
id
string
required
name
string
required
slug
string
required
publicKey
string
required
logoId
string | null
required
logoUri
string | null
required
iconId
string | null
required
iconUri
string | null
required
environment
enum<string>
required
Available options:
development,
staging,
production
domains
object[]
required
createdAt
string
required
updatedAt
string
required
creatorId
string | null
auth
object | null
brand
any