Pular para o conteúdo

Get My Tenants

GET
/api/v1/tenants/my-tenants

Get all tenants the current user has access to.

Returns list of tenants with user’s role in each.

Successful Response

Response Get My Tenants Api V1 Tenants My Tenants Get
Array<object>
TenantWithRole

Tenant with user’s role.

object
name
required
Name
string
slug
required
Slug
string
id
required
Id
integer
schema_name
required
Schema Name
string
logo_url
Any of:
string
primary_color
required
Primary Color
string
secondary_color
required
Secondary Color
string
custom_domain
Any of:
string
status
required
TenantStatus

Tenant status options.

string
Allowed values: active trial suspended cancelled
trial_ends_at
Any of:
string format: date-time
settings
Any of:
object
created_at
required
Created At
string format: date-time
user_role
required
User Role
string