If your conditions warrant a change in accessing a file or folder. You can instantly revoke access to a shared file or folder. All changes take effect instantly.
To revoke access to a previously shared file or folder in the web client, navigate to ‘Share’ and click the down arrow. Click the Revoke button to revoke the share.
Revoke a Public Share from the Shared page