Pular para o conteúdo

Get Tenant

GET
/api/v1/admin/tenants/{tenant_id}

Get detailed tenant information (super admin only).

tenant_id
required
Tenant Id
integer

Successful Response

TenantDetailResponse

Detailed tenant information.

object
id
required
Id
integer
name
required
Name
string
slug
required
Slug
string
schema_name
required
Schema Name
string
status
required
TenantStatus

Tenant status options.

string
Allowed values: active trial suspended cancelled
trial_ends_at
required
Any of:
string format: date-time
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
total_users
Total Users
integer
0
total_contacts
Total Contacts
integer
0
total_companies
Total Companies
integer
0
owner_name
Any of:
string
owner_email
Any of:
string
logo_url
required
Any of:
string
primary_color
required
Any of:
string
secondary_color
required
Any of:
string
custom_domain
required
Any of:
string
settings
required
Any of:
object

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string