Skip to main content
POST
Bulk Delete Hotel Stays
← Hotel Stays API
Deprecated. Use POST /v2/hotel-stays/delete: up to 5,000 hotel stays per request, idempotent, deleted asynchronously, with webhooks. This endpoint keeps working; its responses carry Deprecation and Link: </v2/hotel-stays/delete>; rel="successor-version" headers. Its responses also carry Sunset: Fri, 30 Apr 2027 00:00:00 GMT: the endpoint is retired on April 30, 2027 (see the changelog).
Permanently deletes multiple hotel stay records and their associated total_impacts rows in a single request. Stays that belong to a different organization are reported as failed rather than raising an error.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Body

array[string]
required
List of hotel stay UUIDs to deleteExample: ["550e8400-e29b-41d4-a716-446655440000", "550e8400-e29b-41d4-a716-446655440001"]

Response

array[string]
UUIDs of hotel stays that were successfully deleted
array[string]
UUIDs that could not be deleted (not found or belong to a different organization)

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

422 Unprocessable Entity

Cause: Empty or invalid hotel_stay_ids array

Delete Hotel Stay

Delete a single hotel stay

List Hotel Stays

Browse all hotel stays