UpdateLink Method
Updates a request or download link.
Syntax
public func updateLink(linkId: String) throws -> Void
Remarks
This method updates the link information for a link identified by LinkId. The the class requires the link to be in the Link* properties and be modified from there.
The following properties can be updated from the ShareFileLink* properties:
- ExpirationDate
- MaxDownloads
- Name
- RequireLogin
- Title
// Updates a link to require login. shareFile.Links[1].RequireLogin = true; shareFile.UpdateLink(shareFile.Links[1].Id);