Cancel Reservation

This endpoint releases a reservation created through the Reserve Tickets API before it expires.

Calling this endpoint is optional. Reservations expire automatically after 60 minutes, but cancelling explicitly returns the capacity to the pool immediately.

POST https://api.e-guma.ch/v1/ticketing/cancel-reservation.json?apikey={api-key}

Parameters

api-key required

API key of a user that is approved for third-party integrations.

POST Data

reservation_id required

ID of the reservation to cancel. Use the reservation_id returned by the Reserve Tickets API.

Return

reservation_idID of the cancelled reservation.

Example

POST https://api.e-guma.ch/v1/ticketing/cancel-reservation.json?apikey=510e32c594d84816a4af9df1
{
  "reservation_id": "7f2d9e4b-1c33-4fab-8a42-abcdef123456"
}
{
  "reservation_id": "7f2d9e4b-1c33-4fab-8a42-abcdef123456"
}