Bulk Delete Hotel Stays
Bulk Delete Hotel Stays
Delete multiple hotel stay records and their associated emissions in a single request
POST
Bulk Delete Hotel Stays
Bulk Delete Hotel Stays
Permanently deletes multiple hotel stay records and their associatedtotal_impacts rows in a single request. Stays that belong to a different organization are reported as failed rather than raising an error.
Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faBody
List of hotel stay UUIDs to deleteExample:
["550e8400-e29b-41d4-a716-446655440000", "550e8400-e29b-41d4-a716-446655440001"]Response
UUIDs of hotel stays that were successfully deleted
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 key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Unprocessable Entity
Cause: Empty or invalid hotel_stay_ids arrayRelated Endpoints
Delete Hotel Stay
Delete a single hotel stay
List Hotel Stays
Browse all hotel stays