# Cancel Booking This endpoint allows you to cancel an existing booking. Cancellations can occur for reasons such as customer requests, operational constraints, or overbooking. ## Endpoint `PUT https://partner-domain.com/v1/mozrest/booking/{bookingId}/cancel` ## URL Parameters | Parameter | Status | Description | | --- | --- | --- | | bookingId | **Mandatory** | Unique identifier for the booking to be canceled. | ## Body Parameters | Parameter | Status | Description | | --- | --- | --- | | cancelActor | **Optional** | Indicates who is canceling the booking (e.g., "guest", "venue"). | | cancelReason | **Optional** | Reason for cancellation. | ## Example Request ```json curl PUT "https://partner-domain.com/v1/mozrest/booking/{bookingId}/cancel" \ -H "Authorization: Bearer {{api_key}}" \ --data-raw '{ "cancelActor": "guest" }' ``` ## Example Response ```json { "id": "60e890aca5f07b6ee5b950b1" } ``` ## Response Definitions - **id**: Unique identifier for the canceled booking.