List tenant members
Everyone in one tenant, with their role, sign-in methods and labels.
GET /organizations/{org}/tenants/{tenantId}/members
Lists the tenant’s members. Not paginated.
Authorization
Any member of the org. A non-member gets 404, the same as for an org that does not exist.
Path parameters
| Name | Type | Description |
|---|---|---|
org | string | The organization: its id (org_…) or its slug. It has to be an org your token can manage (see Who can call it) |
tenantId | string | The tenant, tnt_… |
Response
200 OK with an array of members.
[
{
"user_id": "usr_65f1c2a9e4b0d3f7a1c8e909",
"email": "ada@acme.fr",
"name": "Ada Lovelace",
"given_name": "Ada",
"family_name": "Lovelace",
"picture": "https://…",
"role": "member",
"provisionner": "google",
"providers": ["google"],
"labels": [
{ "id": "lbl_65f1c2a9e4b0d3f7a1c8e90a", "name": "Finance", "color": "emerald", "icon": "banknotes", "level": "member" }
]
}
]
| Field | Type | Description |
|---|---|---|
user_id | string | usr_… |
email | string | |
name | string | Combined name |
given_name, family_name | string | |
picture | URL | |
role | owner | admin | member | invited | The tenant role. Reads invited until they first sign in |
provisionner | string | The first of providers, or manual |
providers | string[] | How they can sign in: manual, google, … |
labels | object[] | { id, name, color, icon, level }, one per label they carry |
phone, birthday, pronouns, locales, timezone, postal_address | Present only when set |
Errors
| Status | error | When |
|---|---|---|
404 | not_found | No such tenant in this org, or the org is not yours |
Example
curl https://loginwith.loginwith.dev/organizations/acme/tenants/tnt_65f1c2a9e4b0d3f7a1c8e908/members \
-H "Authorization: Bearer $TOKEN"