cURL
curl --request DELETE \ --url https://tandem.hlofiys.xyz/api/my-bookings/{booking_id} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Allows an authenticated user to cancel/delete their own booking. An attempt to delete a booking belonging to another user will result in a 403 Forbidden error. Requires user authentication.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the user's own booking to delete.
Your booking was successfully deleted