> ## 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 stop instances

Stop a list of instances

## Usage

```bash theme={null}
vastai stop instances [OPTIONS] ID0 ID1 ID2...
```

## Arguments

<ParamField path="ids" type="integer" required>
  ids of instance to stop
</ParamField>

## Examples

```bash theme={null}
vastai stop instances $(vastai show instances -q)
vastai stop instances 329838 984849
```

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