List account members

accountMembers(input: AccountPageInput!): AccountMemberList!

Requires account.members.read.

Arguments

ArgumentTypeRequired
inputAccountPageInput!Yes

Input fields

input

AccountPageInput

FieldTypeRequired
accountIdID!Yes
cursorStringNo
limitIntNo

Response

Returns AccountMemberList!. Open the type for its fields and nested types.

FieldTypeDescription
data[AccountMember!]!Account members, oldest first.
pageInfoAccountPagination!

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query AccountMembers($input: AccountPageInput!) {
  accountMembers(input: $input) {
    data {
      name
      createdAt
      updatedAt
      avatarSrc
      email
    }
    pageInfo {
      first
      next
      prev
      self
    }
  }
}
json
{
  "input": {
    "accountId": "00000000-0000-4000-8000-000000000001"
  }
}