Delete a resumable file


Delete a resumable file.

Endpoint URL: {network.internalDNSName or network.proxyURL} received in DeviceInformation

Request Syntax

DELETE /v2/files/:id/resumable


Request Headers

ParameterDescriptionRequired
AuthorizationAn access token with nas_read_write scope as well as the File Permission with value WriteFile or FileOwner for the file or a parent.

Value of type: string
true
If-MatchA previous file ETag or *. Return the object only if its entity tag (ETag) is the same as the one specified.

Value of type: string
false
If-None-MatchA previous file ETag or *. Return the object only if its entity tag (ETag) is different from the one specified.

Value of type: string
false


Request Path Parameters

ParameterDescriptionRequired
idThe resumable file ID.

Value of type: string
true


204 Response

The normal case will be 204.

Example

Sample request to delete a resumable file.

Request

DELETE /sdk/v2/files/kBAk7fbgO5FbDRvA_O9hu4_iV9yeIT6UNvNf1i6_/resumable HTTP/1.1Host: Endpoint-URLAuthorization: Bearer 9e9d3d16-f9b1-43dc-8599-d1db6fcedfa9

Response

HTTP/1.1 204 No ContentVary: OriginDate: Mon, 29 Aug 2016 21:49:40 GMT