Docs › API Reference › Identity Service › GET /auth/me/tenants
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
Referenced Schemas
dto.MyTenantsResponse
Field Type Required Example Constraints Description
tenants
array ofSee dto.TenantInfo
No
dto.MyTenantsResponseWrapper
Field Type Required Example Constraints Description
code
integer
No
data
dto.MyTenantsResponse
No
message
string
No
timestamp
string
No
dto.TenantInfo
Field Type Required Example Constraints Description
id
string
No
name
string
No
role
string
No
gitee_com_linmes_authms_base_dto.SimpleResponse
Field Type Required Example Constraints Description
code
integer
No
message
string
No
timestamp
string
No