cURL
curl --request DELETE \ --url https://console.vast.ai/api/v0/commands/copy_direct/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "dst_id": "<string>" } '
{ "success": true }
Cancel a remote copy operation specified by the destination ID (dst_id).
CLI Usage: vastai cancel copy --dst_id <destination_id>
vastai cancel copy --dst_id <destination_id>
API key must be provided in the Authorization header
ID of the copy instance target to cancel.
Remote copy canceled successfully.
true