Pass access token through `--access-token` flag

I am trying to run commands using my access token on a remote host. But can’t get it to work. What exactly Am I doing wrong?

flyctl wireguard create <org> <region> <peer-name> --access-token <token>
Error No access token available. Please login with 'flyctl auth login'

Try moving --access-token to right after flyctl. You can also use the FLY_API_TOKEN env variable.