Delete a file permission

Contents

Delete a file permission.

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

Request Syntax


DELETE /v1/filePerms/:id



Request Headers

Parameter Description Required
Authorization An access token with nas_read_write scope as well as the File Permission with value WriteFilePerms or FileOwner for the file or a parent.

Value of type: string
true


Request Path Parameters

Parameter Description Required
id The file permission ID.

Value of type: string
true


204 Response

Success

Example

Sample request to delete a file permission.

Request


DELETE /sdk/v1/filePerms/{fileId} HTTP/1.1
Host: Endpoint-URL
Authorization: Bearer 065eb532-323e-482c-a57e-93cf147baf20

Response


HTTP/1.1 204 No Content
Vary: Origin
Date: Fri, 09 Sep 2016 23:03:48 GMT

Have question about this section?