Users facing account restrictions in Claude Code should first access the provided appeal form and data export options via a web browser. For those needing to switch accounts or clear local data, specific configuration files and credentials must be removed from the system.

Claude Code stores identifiers such as userID and machineID, which are 64-character hexadecimal strings, alongside OAuth account details and access tokens. These are located in configuration files like ~/.claude.json, as well as potential alternative paths and backup directories.

Automated cleanup scripts are available for Linux and Windows to terminate active processes and delete configuration files, including backups. These scripts do not modify project-specific settings or manual environment variables, which must be cleared separately.

Users should open a new terminal session after running cleanup procedures to ensure environment variables are reset. Manual removal of API keys or tokens from settings.json is required, as the provided scripts do not perform this action.