deleteSharePermission: (
shareId: string | number,
token?: string
)
This method is used to unshare a file.
import { deleteSharePermission } from "@eueno/lib-browser";
const unShare = async () => {
try {
let shareId = "46";
await deleteSharePermission(shareId);
} catch (error) {
console.log(error);
}
};