mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-08 04:21:15 +00:00
* 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>
33 lines
681 B
Markdown
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>
|