Calendar.RemoveCalendar
-----------------------

Deletes the calendar.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Calendar](component_Calendar.md) | [3.4](newinversion34.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Calendar.RemoveCalendar"; calendarRef ) 

**MBS**( **"Calendar.RemoveCalendar";** /\* Deletes the calendar. \*/  
**$calendarRef**) /\* The id of the calendar to query. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| calendarRef | The id of the calendar to query. | $calendarRef |

### Result

Returns OK or error.

### Description

Deletes the calendar.  
### See also

- [Calendar.Item.GetCalendar](CalendarItemGetCalendar.md)
- [Calendar.Item.SetCalendar](CalendarItemSetCalendar.md)
- [Calendar.NewCalendar](CalendarNewCalendar.md)
- [Calendar.RemoveReminder](CalendarRemoveReminder.md)
- [Calendar.SaveCalendar](CalendarSaveCalendar.md)
- [Events.RemoveCalendar](EventsRemoveCalendar.md)

This function checks for a license.

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

  
[Calendar.Notification.Set](CalendarNotificationSet.md) - [Calendar.RemoveEvent](CalendarRemoveEvent.md)

[HTML Version](CalendarRemoveCalendar.shtml)