tec-calendar-delete-entities
Delete or trash calendar posts such as events, venues, organizers, or tickets. Choose between recoverable trash or permanent deletion.
Instructions
Delete or trash a calendar post (Event, Venue, Organizer, or Ticket).
Default (force=false or omitted): Moves posts to trash where they can be restored
Permanent delete (force=true): Permanently deletes posts with no option to restore
Delete Behaviors
Default (
force=false): Moves to trash (recoverable)Force delete (
force=true): Permanent deletion (not recoverable)
Best Practices
Always use default trash unless permanent deletion is required
Consider checking post details before deletion
For events, verify dates and timezone context first
Examples
Event Deletion
The Events Calendar event post type with date, location, and ticketing information
Move to trash (default, recoverable)
{
"postType": "event",
"id": 123
}Permanent deletion (not recoverable)
{
"postType": "event",
"id": 124,
"force": true
}Venue Deletion
Location where events take place, including address and contact information
Move to trash (default, recoverable)
{
"postType": "venue",
"id": 456
}Permanent deletion (not recoverable)
{
"postType": "venue",
"id": 457,
"force": true
}Organizer Deletion
Person or organization responsible for hosting events
Move to trash (default, recoverable)
{
"postType": "organizer",
"id": 789
}Permanent deletion (not recoverable)
{
"postType": "organizer",
"id": 790,
"force": true
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postType | Yes | The type of post to delete | |
| id | Yes | Post ID to delete | |
| force | No | true for permanent delete, false for trash (default: false) |