This API endpoint allows you to delete a booking and freeze associated Ekeys.
Method
DELETE
URL
https://api.mosler.in/api/v3/booking/delete/:referenceId
Request Parameters
|
referenceId | string | Yes | The unique identifier for the booking. |
Response Parameters
|
message | string | The message returned by the API. |
code | number | The status code returned by the API. |
error | boolean | Indicates if an error occurred during the API call. |
data | object | The data returned by the API. |
Response Example
{
"message": "Successfully deleted Booking.",
"code": 7002,
"error": false,
"data": 1
}