DELETE
/
api
/
v0
/
commands
/
copy_direct
/
cancel copy
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
dst_id
string
required

ID of the copy instance target to cancel.

Response

Remote copy canceled successfully.

success
boolean
Example:

true