#Removing OpenAI OAuth to then reset?

1 messages ยท Page 1 of 1 (latest)

barren sedge
#

Does anyone have a good method for removing all OpenAI OAuth profiles (but not the models) from all auth profiles so I can then just put in one. I tried to switch profiles using openclaw configure when the current account was rate limited, and now neither will cooperate, even after gateway restarts and reinstalls.

stoic sigilBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

sinful deltaBOT
# barren sedge Does anyone have a good method for removing all OpenAI OAuth profiles (but not t...

BenB, first sanity check: what does openclaw --version show? Auth commands have moved a bit between versions.

For OpenAI OAuth / Codex subscription auth, the provider id is usually openai-codex, not openai. Models are separate from auth profiles, so you can remove the OAuth profiles without deleting model config.

Try this on the gateway host:

openclaw infer model auth logout --provider openai-codex --json
openclaw models auth login --provider openai-codex --set-default
openclaw gateway restart
openclaw models status --probe

If your version does not have openclaw infer ..., the older alias may work: