Boats
Delete Boat
Permanently delete a boat listing
DELETE
/boats/:idPermanently delete a boat listing and all associated data. The requesting user must be an admin or owner of the company that owns the boat.
Authentication
Requires one of:
- API key:
X-API-Keyheader with your owner API key (cb_live_*) - Session: Authenticated user session (cookie-based)
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Boat UUID |
Prerequisites
The boat must have no open bookings. Open booking statuses are:
pending-- awaiting owner approvalaccepted-- awaiting guest paymentconfirmed-- paid and scheduled
Cancel or complete all bookings before deleting.
Request
Response
| Field | Type | Description |
|---|---|---|
deleted | boolean | Always true on success |
title | string | Title of the boat that was deleted |
What Gets Deleted
When a boat is deleted, the following data is permanently removed:
- Boat record and all fields
- Seasonal prices (
boat_prices) and fees (boat_fees) - All boat images and videos (database records)
- Amenity associations and custom amenities
- Calendar blocks, external events, and external holds
- Calendar sources (iCal imports)
- Favorites from all users
- Coupon associations, availability-change rows, activity-log rows, and marketing ads
Bookings are not deleted. Boats with open bookings (pending, accepted, or confirmed) cannot be deleted at all — the request is rejected. Any imported Boataround mapping is unlinked rather than removed.
Errors
| Status | Message |
|---|---|
400 | Boat ID is required |
400 | Cannot delete — boat has N open booking(s). Cancel or complete them first. |
401 | Invalid API key |
401 | Invalid API key format |
403 | Not authorized (requires company admin/owner) |
404 | Boat not found |