account

Return an account with the caller's role and capabilities in it. Requires account.read.

Arguments

  • inputAccountIdInput!required

  • input.accountIdID!required

Responses

query Account($input: AccountIdInput!) {  account(input: $input) {    id    slug    name    kind    createdAt    updatedAt    membership {      role      capabilities    }  }}
{  "data": {    "account": {      "id": "string",      "slug": "string",      "name": "string",      "kind": "string",      "createdAt": "string",      "updatedAt": "string",      "membership": {        "role": "string",        "capabilities": [          "string"        ]      }    }  }}

The Account! in data.account.