Skip to main content
DELETE
Delete Booking

Description

This endpoint allows you to permanently delete a booking from the system. This action is irreversible and should be used with caution.
Irreversible Action: Once deleted, the booking cannot be recovered. Consider using the cancelled status instead if you need to maintain a historical record.

Authentication

string
required
Your LatePoint API Key with deletion permissions

Path Parameters

integer
required
Unique ID of the booking to delete

Query Parameters

boolean
default:"false"
Force deletion even if the booking is approved or completed

Response

Successful Response (200 OK)

string
Response status (“success”)
string
Deletion confirmation message
object
Basic confirmation of the deletion operation

Examples

Simple Deletion

Forced Deletion

Example Response

Successful Deletion

Error Codes

Deletion Rules

States that Allow Direct Deletion

  • pending - Pending
  • cancelled - Cancelled

States that Require force=true

  • approved - Approved
  • completed - Completed
The current implementation checks for approved and completed statuses to require force deletion.

Important Notes

Deletion vs Cancellation: In most cases, it’s better to cancel a booking (change status to cancelled) than to delete it permanently.
Irrecoverable Data: Once deleted, all booking information is permanently lost. Make sure you have backups if necessary.
Simple Implementation: This endpoint provides basic deletion functionality. Advanced features like customer notifications and audit logging are not currently implemented.