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

# cancel sync

`DELETE /api/v0/commands/rclone/`

Cancels an in-progress remote sync operation identified by the destination instance ID.
This operation cannot be resumed once canceled and must be restarted if needed.

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

## Request body

- object
  - `dst_id` integer, required — The destination instance ID of the sync operation to cancel.

## Response `200`

Sync operation canceled successfully.

- object
  - `success` boolean
  - `msg` string

## Other responses

- `400` — Invalid request due to missing or incorrect parameters.
- `404` — Instance not found.

---

[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)
