Find the answer to your question
I am a developer and some of my users are no longer using my app. They were subscribed to platform notifications and the notifications are still being sent to my app. How do I unsubscribe to these ? Will the notifications be sent even if the token has expired?
If the token has expired, the notifications are automatically disabled and the developer doesn't have to do anything.
In case the tokens are still active, you can unsubscribe to Platform Notifications by setting the ApplicationEnable to Disable in SetNotificationPreferences call.
Here's a sample request to disable notifications for a User Token:
<?xml version="1.0" encoding="utf-8"?>
This will disable all notifications to the application. But the user preferences are preserved.
REF: How to subscribe to Platform Notifications