Calls the Tally API's /users/me endpoint to confirm that your API key
works, and reports the account it belongs to.
Arguments
- account
The name of the Tally account whose key to use, e.g.
"work"for a key stored inTALLY_API_KEY_WORK. The defaultNULLuses the account selected withtally_use_account(), or failing that the default account (TALLY_API_KEY).
Value
Invisibly, a list with the user's details as returned by the
API (including id, fullName, email, organizationId and
subscriptionPlan).
See also
tally_api_key() for setting up authentication,
tally_sitrep() for a fuller diagnostic report.