---
id: logout-index
title: logout
sidebar_position: 20
---
# logout

Log out from signageOS (clear stored tokens)


## Description

Logs the user out by clearing stored Auth0 tokens from `~/.sosrc`.
Non-auth fields (apiUrl, defaultOrganizationUid, emulatorUid) are preserved.

## Usage

```bash
sos logout [options]
```

## Examples

```bash
# Logout from default profile
sos logout

# Logout from a specific profile
sos --profile staging logout
```

## Since

4.0.0

## Global Options

All commands support the following global options:

| Option | Alias | Description |
|--------|-------|-------------|
| `--help` | `-h` | Display help information for any command |
| `--version` | `-v` | Display the installed version of the CLI |
| `--api-url` | `-u` | Override the API URL for REST requests |
| `--profile` | | Use a specific profile from ~/.sosrc config |

### Examples

```bash
# Show version
sos --version

# Get help for any command
sos applet --help
sos applet upload --help

# Use custom API endpoint
sos --api-url https://api.example.com applet upload

# Use specific profile
sos --profile production organization list
```
