IPWorks Cloud 2020 Node.js Edition

Questions / Feedback?

RevokeLink Method

Revokes a shared link.

Syntax

dropbox.revokeLink(sharedLink, [callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This method revokes an existing shared link; SharedLink must be a shared link URL.

Keep in mind that a resource may still be accessible after revoking its shared link if shared links still exist for any of its parent folders. The ListSharedLinks method can be used to get a list of all existing links that provide access to any given resource.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Node.js Edition - Version 20.0 [Build 8265]