---
title: "cancel copy"
method: DELETE
path: "/api/v0/commands/copy_direct/"
tags: ["Instances"]
---

# cancel copy

`DELETE /api/v0/commands/copy_direct/`

Cancel a remote copy operation specified by the destination ID (dst_id).

CLI Usage: `vastai cancel copy --dst_id <destination_id>`

## Request body

- object
  - `dst_id` string, required — ID of the copy instance target to cancel.

## Response `200`

Remote copy canceled successfully.

- object
  - `success` boolean

## Other responses

- `400` — Invalid arguments provided.
- `404` — Destination ID not found or access denied.

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
