Cancel a booking
To cancel a tee time reservation, send a request to below url.
DELETE /api/v1/bookings/{bookingId}
- Path Parameters
- bookingId:
e.g. ZGeg123
(string, required) - Cancel the booking with this ID. Bookings can only be canceled by the user who created it.
- bookingId:
This can be done with a curl command like so :
curl -X DELETE -H 'Content-Type:application/json' --user [[username]]:[[password]] '[[base-url]]/api/v1/bookings/ZGeg156'
- Successful Response (application/json)
{
"success": true,
"data": {
"status": "ok"
}
}
2.512