Switch to a different Anthropic account using OAuth, so the bot can see its own usage status.

Hi! I'm running Clawdbot 2026.1.13 in Docker and need to change which Anthropic account my bot uses.

Current setup: Token auth in auth-profiles.json

Goal: Switch to a different Anthropic account using OAuth, so the bot can see its own usage status.

What I tried:
docker exec -it container-name npm install -g @anthropic-ai/claude-code
docker exec -it container-name clawdbot models auth setup-token --provider anthropic

The OAuth flow completes successfully, but after restart the old token is still being used.

Question: What's the correct way to replace an existing Anthropic auth profile with a new OAuth account without running clawdbot onboard?
Was this page helpful?