Delete booking is a WordPress ability from LatePoint — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Delete booking

Destructive
LatePoint Booking & Events latepoint/delete-booking

Permanently remove a booking record from the database.

Requires the LatePoint plugin on WordPress 6.9+ (the WordPress Abilities API is only available from 6.9 onward). All abilities also require the site's 'latepoint_abilities_api' master toggle to be enabled; write abilities additionally require the 'latepoint_abilities_api_edit' setting, and destructive abilities additionally require the 'latepoint_abilities_api_delete' setting. Each ability further requires the current user to hold the matching LatePoint capability (e.g. 'booking__view', 'customer__edit'), and some abilities also verify the user is allowed to act on that specific record.

What it does

This ability permanently deletes a booking by ID. Unlike cancel-booking, which just changes the status and keeps the record, this removes the row entirely and cannot be undone — use it only when you genuinely want the booking gone rather than marked cancelled. If the booking doesn't exist, a not-found error is returned; if the deletion itself fails, a server error is returned instead.

See it in action

You ask your AI assistant

"Permanently delete booking #1203, it was created by mistake."

Inputs

Name Type Required Description
id integer Yes Booking ID to delete.

Returns

On success, an object confirming deletion: { deleted: true, id }. Returns a not-found error if the booking doesn't exist, or a deletion error if the delete operation fails.

Permission

The current user must have LatePoint's 'booking__delete' capability, and both the 'latepoint_abilities_api' and 'latepoint_abilities_api_delete' settings must be enabled. It also verifies the current user is allowed to delete this specific record.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.