Delete an empty calendar
qubrics_mailbox_delete_calendarDeletes a mailbox calendar using an ETag precondition and blocks deletion when the calendar contains events, returning a 409 conflict.
Instructions
Requires calendar.write. Fetch the calendar and pass its ETag in If-Match. A calendar containing events returns 409 conflict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| If-Match | Yes | ETag from the most recent calendar GET. Wildcards are rejected. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| calendar_id | Yes | Calendar ID in the selected mailbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |