super simple issue here but I am having more troub...
# ask-community
d
super simple issue here but I am having more trouble with this then I would to admit. I am trying to login to an API Key that doesn't expire, but when I try to login I get the following error (see pic). Is there a simple terminal command to change this? Thanks
1
s
it sounds like you may have
PREFECT_API_KEY
set as an env var?
d
I think you are correct (that wasn't intentional). Best way to change that?
s
sure yeah you can double-check here
❯ echo $PREFECT_API_KEY
that you’ve set it. then unset it like so
❯ unset PREFECT_API_KEY
and then if you want to add/change it in your profile you can do
prefect config set PREFECT_API_URL=foo
also I think you’d only see that error when your
PREFECT_API_KEY
env var differs from the one in your profile, so def double check on the right one!
d
ok thank you very much. I think I will be able to take it from here!!! This is super helpful
🙌 1