3.2.5.143.2.1.21 DeleteAnonymousLinkForObject

This method is a static CSOM method.

Return Type: None

Removes an existing anonymous link for an object.<145>

Parameters:

url: The URL of the object being shared, with the path of the object in SharePoint that is represented as query string parameters.

Type: CSOM String

For example:

http://contoso.com/?obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D

isEditLink: If true, the edit link for the object will be removed. If false, the view only link for the object will be removed.

Type: CSOM Boolean

removeAssociatedSharingLinkGroup: Indicates whether to remove the groups that contain the users who have been given access to the shared object via the sharing linkĀ¹.

Type: CSOM Boolean