DeleteLink Method
Deletes the link specified by the LinkId.
Syntax
async sharefile.deleteLink(linkId : string): Promise<void>
Remarks
Deletes the link specified by the LinkId permanently. The Link* properties will not be updated until the ListLinks method is called.
// Deletes the first link. shareFile.ListLinks(); string LinkId = shareFile.Link[0].Id; shareFile.DeleteLink(LinkId);