Delete a resumable file

Contents

Delete a resumable file.

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

Request Syntax


DELETE /v2/files/:id/resumable



Request Headers

Parameter Description Required
Authorization An 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-Match A 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-Match A 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

Parameter Description Required
id The 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.1
Host: Endpoint-URL
Authorization: Bearer 9e9d3d16-f9b1-43dc-8599-d1db6fcedfa9

Response


HTTP/1.1 204 No Content
Vary: Origin
Date: Mon, 29 Aug 2016 21:49:40 GMT

Have question about this section?