> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai tfa send-email

Request a 2FA Email verification code

## Usage

```bash theme={null}
vastai tfa send-email
```

## Description

Request a two-factor authentication code to be sent via Email.

The secret token will be returned and must be used with 'vastai tfa activate'.

## Examples

```bash theme={null}
vastai tfa send-email
```

## Global Options

The following options are available for all commands:

| Option          | Description                                           |
| --------------- | ----------------------------------------------------- |
| `--url URL`     | Server REST API URL                                   |
| `--retry N`     | Retry limit                                           |
| `--raw`         | Output machine-readable JSON                          |
| `--explain`     | Verbose explanation of API calls                      |
| `--api-key KEY` | API key (defaults to `~/.config/vastai/vast_api_key`) |
