> ## 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 cancel copy

Cancel a remote copy in progress, specified by DST id

## Usage

```bash theme={null}
vastai cancel copy DST
```

## Arguments

<ParamField path="dst" type="string" required>
  instance\_id:/path to target of copy operation
</ParamField>

## Description

Use this command to cancel any/all current remote copy operations copying to a specific named instance, given by DST.

## Examples

```bash theme={null}
vast cancel copy 12371

The first example cancels all copy operations currently copying data into instance 12371
```

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