Logout of your Railway account and clear stored credentials.
railway logout
This clears your stored authentication token. You'll need to run railway login again to use authenticated commands.
railway login