stackblaze whoami
Shows which API you are talking to and who you are: email, username, the number of pipelines you can see, and whether Infrastructure as Code is enabled.
stackblaze whoami [options]Also accepts the scope and output flags: -p, --pipeline, --phase, -a, --app, --token, --api-url, -o, --output, --json.
With --pipeline, the Infrastructure as Code line reports that project.
Example
Section titled “Example”stackblaze whoami -o json | jq -r .user.emailExit code 2 means no credentials or a rejected token.