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

# xanosdk logout

> Revoke the active profile and remove it from the credential file.

## Usage

```bash theme={null}
xanosdk logout [options]
```

## Flags

| Flag | Description |
| - | - |
| `--all` | Every stored profile, not just the active one |
| `--yes, -y` | Confirm a destructive action non-interactively |
| `--local-auth` | Use the project-local ./.xano/auth.json instead of the shared cache |
| `--config <path>` | Explicit credential file (default: \$XANO\_CONFIG) |

Global flags are listed in the [CLI overview](/reference/cli).

***

*Generated from @xano/sdk 1.0.9.*


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