api:pbx:calendar:delete
Table of Contents
API : PBX : Calendar Delete
Introduction
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.
Request
| 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. |
Examples
DELETE https://api.telecomx.dk/pbx/calendar/1234567801234567890ABCD DELETE https://api.telecomx.dk/pbx/calendar/1234567801234567890ABCD?applyToMaster=true
Response
| JSON object | ||
|---|---|---|
| success | Boolean | true on success. |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | not_found | Event not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/calendar/delete.txt · Last modified: 2025/07/21 05:35 by Per Møller