# railgrid logout

Forget the hub credentials on this machine

Source: https://railgrid.ai/docs/reference/cli/commands/logout/

<!-- Generated by scripts/sync-cli-docs.py from railgrid/railgrid docs/cli. Do not edit by hand; run `make sync-cli-docs`. -->

## Synopsis

Delete the cached OIDC tokens for the hub and remove the railgrid kubeconfig
context (and every railgrid-\<edge> context created by 'railgrid connect'). The
hub-side session is untouched; log in again with 'railgrid login'.

```bash
railgrid logout [flags]
```

## Options

```text
  -h, --help                 help for logout
      --keep-edge-contexts   Keep the railgrid-<edge> contexts (they stop working until you log in again)
```

## Inherited options

```text
      --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
      --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)
```

## See also

- [railgrid](https://railgrid.ai/docs/reference/cli/commands/) — railgrid: an open-source control plane for platform teams
