# pw auth logout

> Source: https://parallelworks.com/docs/cli/pw/auth/logout

## pw auth logout

Sign this computer out

### Synopsis

**pw auth logout** signs the current context out, or the named one, and removes it from the
credentials file. A context created with **pw auth login** is first signed out on the
platform, so its tokens stop working at once and it leaves **Settings** > **Connected apps**.

A context that uses an API key is only removed from this computer; delete the key itself
under **Settings** > **Authentication**.

```
pw auth logout [context-name] [flags]
```

### Examples

```
  # Sign out of the current context
  pw auth logout
  
  # Sign out of a named context
  pw auth logout ada@cloud.parallel.works
```

### Options

```
  -h, --help   help for logout
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw auth](/docs/cli/pw/auth)	 - Authenticate the CLI
