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

# vastai set user

Update user data from json file

## Usage

```bash theme={null}
vastai set user --file FILE
```

## Options

<ParamField path="--file" type="string">
  file path for params in json format
</ParamField>

## Available Fields

| Field                       | Type   |
| --------------------------- | ------ |
| `ssh_key`                   | string |
| `paypal_email`              | string |
| `wise_email`                | string |
| `email`                     | string |
| `normalized_email`          | string |
| `username`                  | string |
| `fullname`                  | string |
| `billaddress_line1`         | string |
| `billaddress_line2`         | string |
| `billaddress_city`          | string |
| `billaddress_zip`           | string |
| `billaddress_country`       | string |
| `billaddress_taxinfo`       | string |
| `balance_threshold_enabled` | string |
| `balance_threshold`         | string |
| `autobill_threshold`        | string |
| `phone_number`              | string |

## Examples

```bash theme={null}
vastai set user
```

## 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`) |
