> Markdown version of https://tuna.am/en/docs/api/member-list/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# List team members

get`/v1/team/members`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Query Parameters

* **page_size** integer\<int64>

* **page** integer\<int64>

* **search** string

  Case-insensitive search by member name and email

* **user_id** integer\<int64>

  Only the member with this user ID

* **role** string

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  Only members with this team role

* **group_id** integer\<int64>

  Only members of the group with this ID

* **without_second_factor** boolean

  Only members without a second factor (neither TOTP nor passkey)

* **order_by** string

  Sort order: created_at (default, newest first), name (by member name, or email if there is no name)

### Response

200application/json

* Array \[
* **actions** object

  **available_roles**string\[]

  Roles that can be assigned

  **change_active**boolean

  Whether the active status can be changed

  **change_role**boolean

  Role can be changed

  **delete**boolean

  Can be deleted

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **created_at**string\<date-time>

  Creation date

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **external_domains**integer\<int64>

  Number of external domains

  **groups** object\[]

  Member's groups

  Array \[
* **bastion_rules** object

  **allow_logins**string\[]

  Allowed logins on hosts

  **allow_namespaces**string\[]

  Allowed namespaces

  **allow_node_labels** object

  Allowed host labels

  **property name\***&#x73;tring

  **deny_logins**string\[]

  Denied logins on hosts

  **deny_namespaces**string\[]

  Denied namespaces

  **deny_node_labels** object

  Denied host labels

  **property name\***&#x73;tring

  **created_at**string\<date-time>

  Creation date

  **Example:&#x20;**`2024-01-15T10:30:00Z`

  **has_bastion_rules**boolean

  The group has bastion rules

  **Example:&#x20;**`false`

  **has_secrets_rules**boolean

  The group has secrets rules

  **Example:&#x20;**`false`

  **has_tuna_rules**boolean

  The group has tunnel rules

  **Example:&#x20;**`true`

  **id**integer\<int64>

  Group ID

  **Example:&#x20;**`1`

  **members** object\[]

  Group members. Returned when getting, creating, or updating a group; not populated in the group list

  Array \[
* **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  ]
* **name**string

  Group name

  **Example:&#x20;**`DevOps`

  **secrets_rules** object\[]

  Secrets access rules

  Array \[
* **access_level**string

  Access level

  **Possible values:** \[`none`, `viewer`, `editor`, `admin`]

  **Example:&#x20;**`editor`

  **environment** object

  **access_level**string

  Current user's access level to the environment

  **Possible values:** \[`none`, `viewer`, `editor`, `admin`]

  **Example:&#x20;**`editor`

  **created_at**string\<date-time>

  Creation date

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`10`

  **initial_fetch_at**string\<date-time>

  Date secrets were first read via the API

  **name**string

  Name

  **Example:&#x20;**`Production`

  **order**integer\<int64>

  Display order

  **Example:&#x20;**`1`

  **personal_configs**boolean

  Personal configurations `<environment>/personal` are allowed

  **slug**string

  Alias

  **Example:&#x20;**`production`

  **updated_at**string\<date-time>

  Update date

  **project** object

  **access_level**string

  Current user's access level to the project

  **Possible values:** \[`none`, `viewer`, `editor`, `admin`]

  **Example:&#x20;**`editor`

  **configs**integer\<int64>

  Number of configs

  **Example:&#x20;**`3`

  **created_at**string\<date-time>

  Creation date

  **description**string

  Description

  **Example:&#x20;**`Payment processing service`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`101`

  **name**string

  Name

  **Example:&#x20;**`Payments`

  **owner** object

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **pinned**boolean

  The project is pinned by the current user

  **secrets**integer\<int64>

  Number of secrets

  **Example:&#x20;**`24`

  **slug**string

  Alias

  **Example:&#x20;**`payments`

  **updated_at**string\<date-time>

  Update date

  ]
* **tuna_rules** object

  **deny_http_tunnels**boolean

  Deny HTTP tunnels

  **Example:&#x20;**`false`

  **deny_ssh_tunnels**boolean

  Deny SSH tunnels

  **Example:&#x20;**`false`

  **deny_tcp_tunnels**boolean

  Deny TCP tunnels

  **Example:&#x20;**`false`

  **updated_at**string\<date-time>

  Update date

  **Example:&#x20;**`2024-01-20T14:00:00Z`

  ]
* **has_second_factor**boolean

  Second factor is set up: TOTP or passkey

  **id**integer\<int64>

  Identifier

  **is_mfa_enabled**boolean

  TOTP is enabled

  **is_ssh_team_keys_allowed**boolean

  Team SSH keys are allowed to connect

  **is_ssh_user_keys_allowed**boolean

  Personal SSH keys are allowed to connect

  **last_seen_at**string\<date-time>

  Last seen date

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Primary role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **static_domains**integer\<int64>

  Number of static domains

  **static_endpoints**integer\<int64>

  Number of static endpoints

  **user_id**integer\<int64>

  User ID

  ]
