Delete a file permission


Delete a file permission.

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

Request Syntax

DELETE /v1/filePerms/:id


Request Headers

ParameterDescriptionRequired
AuthorizationAn 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

ParameterDescriptionRequired
idThe 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.1Host: Endpoint-URLAuthorization: Bearer 065eb532-323e-482c-a57e-93cf147baf20

Response

HTTP/1.1 204 No ContentVary: OriginDate: Fri, 09 Sep 2016 23:03:48 GMT