Files
redocly-cli/docs/commands/logout.md
dianacheung 4c3d8cf84f docs: update commands documentation (issue 1429) and minor corrections (#1560)
* docs: updated commands documentation per issue 1429 and minor corrections, ran prettier

* docs: updated commands documentation per issue 1429 and included pr 1560 feedback

* docs: minor formatting and copyedits

---------

Co-authored-by: Diana Cheung <18452752+dianacheung@users.noreply.github.com>
Co-authored-by: Lorna Mitchell <lorna.mitchell@redocly.com>
2024-07-05 20:59:59 +01:00

33 lines
681 B
Markdown

# `logout`
## Introduction
Use the `logout` command to clear the API key from your device.
You may want to `logout` if you are using a shared work computer or want to [`login`](./login.md) with another API key.
## Usage
```bash
redocly logout [--help] [--version]
redocly logout --version
```
## Options
| Option | Type | Description |
| --------- | ------- | -------------------- |
| --help | boolean | Show help. |
| --version | boolean | Show version number. |
## Examples
### View successful logout message
A confirmation message is displayed with a successful logout:
<pre>
redocly logout
Logged out from the Redocly account. ✋
</pre>