This request will delete an event in the calendar.
Calendar events are personal, but other employees can be given readCalendar and/or writeCalendar permissions through PBX groups.
| URL | https://api.telecomx.dk/pbx/calendar/EVENT_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | PERSONAL if event belongs to the user. VIEWER, MANAGER, OWNER if event belongs to the user or user has group right 'readCalendar' on the events owner. RESELLER, RESELLER_ADMIN or ADMIN no access. |
||
| Param | EVENT_ID | Id | Id of the calendar event (24 hex-char string). |
| Query | applyToMaster | Boolean | True if this event is part of a series and the whole series shall be deleted. |
DELETE https://api.telecomx.dk/pbx/calendar/1234567801234567890ABCD DELETE https://api.telecomx.dk/pbx/calendar/1234567801234567890ABCD?applyToMaster=true
| JSON object | ||
|---|---|---|
| success | Boolean | true on success. |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 404 | not_found | Event not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |