Cancel

put

Cancels a pending transfer. This operation can be performed only if the transfer has not been completed yet. After cancellation the transfer is not available and any uploaded files are scheduled for removal from our servers.

Body
transferidstring · min: 1Required

ID of the transfer to be cancelled (retrevied in the 'Initialize' response).

transferkeystring · min: 1Required

Secret key of the transfer to be cancelled (retrevied in the 'Initialize' response).

Responses
200
OK
put
PUT /transfer/cancel HTTP/1.1
Host: api-public.filemail.com
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 42

{
  "transferid": "text",
  "transferkey": "text"
}
{
  "responsestatus": "OK",
  "errorid": "text",
  "errormessage": "text",
  "data": null,
  "errorcode": 1
}

Last updated

Was this helpful?