accounts

List the personal and team accounts the caller belongs to, oldest first, with the caller's role and capabilities in each.

Arguments

  • inputListAccountsInput!required

  • input.cursorString

  • input.limitInt

  • input.slugString

Responses

query Accounts($input: ListAccountsInput!) {  accounts(input: $input) {    data {      id      slug      name      kind      createdAt      updatedAt    }    pageInfo {      self      first      next      prev    }  }}
{  "data": {    "accounts": {      "data": [        {          "id": "string",          "slug": "string",          "name": "string",          "kind": "string",          "createdAt": "string",          "updatedAt": "string"        }      ],      "pageInfo": {        "self": "string",        "first": "string",        "next": "string",        "prev": "string"      }    }  }}

The AccountList! in data.accounts.