# dflow context:clear

> Delete saved logins on this computer. The account stays.

Web page: /docs/cli/account/context-clear/

This deletes every saved login on this computer: the server, the token, the workspace, the project, and the environment. The account, the apps, and the password stay on the server. The next `dflow login` uses `https://api.dflow.sh`.

```bash
dflow context:clear
dflow context:clear --yes
```

## Flags

`--yes` deletes the saved logins without asking. A script has to pass it. On a terminal, leaving it off asks `Delete saved logins on this computer? The account stays. Type yes:`. Any other answer keeps the file.

## What you see

The terminal prints `saved` with value `forgotten`. A missing file prints `absent` and exits 0. A second clear does the same. Each refresh token is sent to logout, and that call waits at most 10 seconds. When logout fails, the file is still deleted, `logout` is `failed`, and the terminal names the server. That refresh token may still be valid.

## When it fails

Exit 1 when the answer is not `yes`, when a script omits `--yes`, or when the config path is a symlink. The file is left in place.
