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.

Delete an alias by passing in the alias_label to identify the alias. The alias_label and alias_id path parameters are used to identify the User. The alias_label_to_delete may be the same as the alias_label to identify the user.

Aliases are deleted synchronously.

onesignal_id can be used as a special alias_label to identify the user, with the UUID as the alias_id. However, onesignal_id cannot be updated.