list

user.sharedVaultList

Lists every shared vault the caller is a member of.

Auth

Bearer JWT. The vault does not need to be unsealed to list.

GraphQL

query {
  user {
    sharedVaultList {
      id
      template
      name
      description
      myRole
      createdAt
      updatedAt
    }
  }
}

Response

[SharedVault!]!. myRole is one of OWNER, MANAGER, EDITOR, VIEWER.

curl

curl -X POST https://api.test.geena.eu/graphql \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query":"{ user { sharedVaultList { id name myRole } } }"}'