Developers » API methods » Account » account.unregisterDevice
Unsubscribes a device from push notifications.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: messages.
device_idUnique device ID.
string, accessible for versions from 5.31
sandboxFor iOS devices. Possible values:
  • 1 Ś to unsubscribe a device that uses sandbox server;
  • 0 Ś to unsubscribe a device that does not use sandbox server.
flag, either 1 or 0, default 0
Show options for only old API versions
string, outdated option, only for versions before 5.31
In case of success returns 1.
Global errors can occur while running. See their descriptions on this page.