You're Viewing User Model Beta Documentation 🎉

OneSignal is in the process of migrating from a device-centric model (player ID) to a new user-centric data model (OneSignal ID). In the new user-centric world, Users have a OneSignal ID, and what was the player ID is now known as the Subscription ID.

To learn more, check out the User Model Beta Overview.

Please refer to Version 9 of our documentation for device-centric information.

Deletes an existing subscription, identified by the subscription_id in the path parameters. The deletion happens asynchronously.

NOTE: If this deletes the final subscription belonging to a user, and the user does not have any aliases, then the entire user will be deleted.