Skip to main content

Get a member group by ID

get/v1/team/groups/{id}

Get a member group by ID (for team admins)

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • id integer<int64>required

Response

    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