SP.Web.unregisterPushNotificationSubscriber Method (sp.js)
Unregisters the subscriber for push notifications from the site.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Web.unregisterPushNotificationSubscriber()
Parameters
- deviceAppInstanceId
Device app instance identifier.
Return value
Undefined
REST resource endpoint
See Web resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/unregisterPushNotificationSubscriber(deviceAppInstanceId)
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/unregisterPushNotificationSubscriber(deviceAppInstanceId)
Resource parameters
- deviceAppInstanceId