reoclo whoami
reoclo whoamiCalls /auth/me with the active profile’s token and prints the identity attached to it: tenant, key type (Integration or Automation), key label, scope, and (for user-bound keys) the email.
Examples
Section titled “Examples”$ reoclo whoamitenant: acme (df7daacb-1e34-4a16-9e5d-b8bfbaa4c0f5)key: Integration ("CLI on Mac mini")type: rk_t (full access)expires: 2026-12-31JSON output for scripting:
reoclo whoami -o jsonExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | Authenticated. |
| 3 | Token rejected by /auth/me (revoked, expired, or wrong API URL). |
Related
Section titled “Related”reoclo login— authenticatereoclo profile— switch between identities