Flyctl list apps --accesstoken .... -json does not work unless logged in

When I logout and try

flyctl list apps --accesstoken … --json

It prompts Error No access token available. Please login with ‘flyctl auth login’ even though I supply the accesstoken in the command line.

Kindly advice.