For Phonegap: 

window.plugins.PushbotsPlugin.resetBadge();

For iOS Native using Objective C


[self.PushbotsClient clearBadgeCount];

For iOS native using Swift

Pushbots.sharedInstance().clearBadgeCount();

Did this answer your question?