cURL
curl --request DELETE \ --url https://tandem.hlofiys.xyz/api/bookings/{booking_id} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Permanently deletes a booking from the system. This is a destructive operation. This is a protected endpoint. Access is restricted to users with admin or manager roles.
admin
manager
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The booking was successfully deleted