---
title: unregisterForRemoteNotifications()
framework: watchkit
role: symbol
role_heading: Instance Method
path: watchkit/wkextension/unregisterforremotenotifications()
---

# unregisterForRemoteNotifications()

Unregister for all remote notifications received from Apple Push Notification service (APNs).

## Declaration

```swift
func unregisterForRemoteNotifications()
```

## Discussion

Discussion Use this method to unregister from all remote notifications; for example, unregister to stop receiving notifications when the user logs out of their account.

## See Also

### Related Documentation

- [registerForRemoteNotifications()](uikit/uiapplication/registerforremotenotifications().md)

### Registering for remote notifications

- [registerForRemoteNotifications()](watchkit/wkextension/registerforremotenotifications().md)
- [isRegisteredForRemoteNotifications](watchkit/wkextension/isregisteredforremotenotifications.md)
