> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cowboy.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# cowboy logout

> End your Cowboy Labs session

`cowboy logout` revokes the session [`cowboy login`](https://docs.cowboy.inc/cli-specs/cowboy-login) started and removes its credentials from this machine.

```text theme={"system"}
cowboy logout [OPTIONS]
```

| Option | Description |
| - | - |
| `--json` | Emit one versioned result without credentials |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.