This function revokes the refresh token with OpenAI (by default), clears the process-local session, and deletes this package's own credential file. It never removes Codex CLI credentials or another application's entries. The host identifier is kept because the documented flow requires it to stay stable for this host.
Value
TRUE, invisibly. The process-local credential is cleared even if
no persistent credential exists.
Note
To use a different ChatGPT account or workspace, call
codex_logout() and then codex_login(); the next sign-in creates a new
registration instead of reauthorizing the previous one.
