UserNotification.removeScheduledNotification
--------------------------------------------

Cancels a notification.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UserNotification](component_UserNotification.md) | [2.8](newinversion28.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "UserNotification.removeScheduledNotification"; UserNotificationReference ) 

**MBS**( **"UserNotification.removeScheduledNotification";** /\* Cancels a notification. \*/  
**$UserNotificationReference**) /\* An user notification reference.e.g. $ref \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| UserNotificationReference | An user notification reference. | $ref |

### Result

Returns "OK" on success.

### Description

Cancels a notification.   
If the deliveryDate occurs before the cancellation finishes, the notification may still be delivered. If the notification is not in the scheduled list, nothing happens.  
### See also

- [UserNotification.deliveredNotifications](UserNotificationdeliveredNotifications.md)
- [UserNotification.removeAllDeliveredNotifications](UserNotificationremoveAllDeliveredNotifications.md)
- [UserNotification.removeAllScheduledNotifications](UserNotificationremoveAllScheduledNotifications.md)
- [UserNotification.removeDeliveredNotification](UserNotificationremoveDeliveredNotification.md)
- [UserNotification.scheduledNotifications](UserNotificationscheduledNotifications.md)
- [UserNotification.scheduleNotification](UserNotificationscheduleNotification.md)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[UserNotification.removeDeliveredNotification](UserNotificationremoveDeliveredNotification.md) - [UserNotification.scheduleNotification](UserNotificationscheduleNotification.md)

[HTML Version](UserNotificationremoveScheduledNotification.shtml)