Skip to main content

List team members

get/v1/team/members

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the 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

  • Array [
  • actions object
    available_rolesstring[]

    Roles that can be assigned

    change_activeboolean

    Whether the active status can be changed

    change_roleboolean

    Role can be changed

    deleteboolean

    Can be deleted

    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    created_atstring<date-time>

    Creation date

    emailstring

    Email

    Example: jane@example.com
    external_domainsinteger<int64>

    Number of external domains

    groups object[]

    Member's groups

  • Array [
  • bastion_rules object
    allow_loginsstring[]

    Allowed logins on hosts

    allow_namespacesstring[]

    Allowed namespaces

    allow_node_labels object

    Allowed host labels

    property name*string
    deny_loginsstring[]

    Denied logins on hosts

    deny_namespacesstring[]

    Denied namespaces

    deny_node_labels object

    Denied host labels

    property name*string
    created_atstring<date-time>

    Creation date

    Example: 2024-01-15T10:30:00Z
    has_bastion_rulesboolean

    The group has bastion rules

    Example: false
    has_secrets_rulesboolean

    The group has secrets rules

    Example: false
    has_tuna_rulesboolean

    The group has tunnel rules

    Example: true
    idinteger<int64>

    Group ID

    Example: 1
    members object[]

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

  • Array [
  • activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
  • ]
  • namestring

    Group name

    Example: DevOps
    secrets_rules object[]

    Secrets access rules

  • Array [
  • access_levelstring

    Access level

    Possible values: [none, viewer, editor, admin]

    Example: editor
    environment object
    access_levelstring

    Current user's access level to the environment

    Possible values: [none, viewer, editor, admin]

    Example: editor
    created_atstring<date-time>

    Creation date

    idinteger<int64>

    Identifier

    Example: 10
    initial_fetch_atstring<date-time>

    Date secrets were first read via the API

    namestring

    Name

    Example: Production
    orderinteger<int64>

    Display order

    Example: 1
    personal_configsboolean

    Personal configurations <environment>/personal are allowed

    slugstring

    Alias

    Example: production
    updated_atstring<date-time>

    Update date

    project object
    access_levelstring

    Current user's access level to the project

    Possible values: [none, viewer, editor, admin]

    Example: editor
    configsinteger<int64>

    Number of configs

    Example: 3
    created_atstring<date-time>

    Creation date

    descriptionstring

    Description

    Example: Payment processing service
    idinteger<int64>

    Identifier

    Example: 101
    namestring

    Name

    Example: Payments
    owner object
    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    pinnedboolean

    The project is pinned by the current user

    secretsinteger<int64>

    Number of secrets

    Example: 24
    slugstring

    Alias

    Example: payments
    updated_atstring<date-time>

    Update date

  • ]
  • tuna_rules object
    deny_http_tunnelsboolean

    Deny HTTP tunnels

    Example: false
    deny_ssh_tunnelsboolean

    Deny SSH tunnels

    Example: false
    deny_tcp_tunnelsboolean

    Deny TCP tunnels

    Example: false
    updated_atstring<date-time>

    Update date

    Example: 2024-01-20T14:00:00Z
  • ]
  • has_second_factorboolean

    Second factor is set up: TOTP or passkey

    idinteger<int64>

    Identifier

    is_mfa_enabledboolean

    TOTP is enabled

    is_ssh_team_keys_allowedboolean

    Team SSH keys are allowed to connect

    is_ssh_user_keys_allowedboolean

    Personal SSH keys are allowed to connect

    last_seen_atstring<date-time>

    Last seen date

    namestring

    Name

    Example: Jane Doe
    rolestring

    Primary role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    static_domainsinteger<int64>

    Number of static domains

    static_endpointsinteger<int64>

    Number of static endpoints

    user_idinteger<int64>

    User ID

  • ]