Table of contents
TOC
Collapse the table of content
Expand the table of content

ListExtensions.RemoveWebhookSubscription Method

SharePoint Dev Documents|Last Updated: 6/9/2017
|
1 Contributor

Remove a Webhook subscription from the list Note: If the access token is not specified, it will cost a dummy request to retrieve it

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static bool RemoveWebhookSubscription(this List list, Guid subscriptionId, String accessToken)

Parameters

list

  Type: Microsoft.SharePoint.Client.List
  The list to remove the Webhook subscription from

subscriptionId

  Type: System.Guid
  The id of the subscription to remove

(optional) accessToken

  Type: System.String
  (optional) The access token to SharePoint

Return Value

Type: bool
true if the removal succeeded, false otherwise

See also

© 2018 Microsoft