Autional Autional
API Reference GitHub autional.com →

GET /auth/me/tenants

Return the list of all tenants the current user has access to, including tenant ID, name, display name, and the user's roles in each tenant. Supports retrieving tenant display names via the tenant service.

Authentication `bearerAuth` application/json

Responses

StatusDescriptionSchema
200Current user's tenant list and rolesdto.MyTenantsResponseWrapper
401Unauthenticated or invalid tokengitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.MyTenantsResponse

FieldTypeRequiredExampleConstraintsDescription
tenants array of

See dto.TenantInfo

No

dto.MyTenantsResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.MyTenantsResponse No
message string No
timestamp string No

dto.TenantInfo

FieldTypeRequiredExampleConstraintsDescription
id string No
name string No
role string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No