Explain
Clear-Site-Data
Instructs the browser to clear site data like cookies, storage, and cache (useful for logout or account changes).
InfoCategory: privacy
What it is
Clear-Site-Data tells the browser to remove specific categories of stored data for your origin (cookies, storage, cache).
When it's useful
- Secure logout flows (clear auth cookies/storage).
- Account switching (avoid stale sessions).
- Incident response (force client cleanup).
Related guides