> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pushbase.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Unsubscribe device

> Remove a device from the notification subscription list

```js theme={null}
/* Import device unsubscribe function */
import { unsubscribeToNotifications } from "@pushbase/sdk";

/* Later inside the app, unsubscribe device */
unsubscribeToNotifications();
```

<Note>
  When a device is unsubscribed, it is removed from the subscription list and
  excluded from the subscriber count for the next month’s billing cycle.
</Note>
