Deletion of an Apple Push Notification Configuration

Deletes an Apple Push Notification configuration.

Syntax

Boolean deleteApplePushNotificationConfiguration(String apnsConfigName, boolean restart) throws SUPAdminException;

Returns

If successful, returns true if the specified APNS configuration has been removed, or false if the specified APNS configuration does not exist. If unsuccessful, returns SUPAdminException.

Examples

  • Removal
    // Delete Apple push configuration
    supServerConf.deleteApplePushNotificationConfiguration("smithj_APNS_configuration1", false);