deleteReservation method
Delete an expired reservation.
May throw BadGatewayException.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter reservationId :
Unique reservation ID, e.g. '1234567'
Implementation
Future<DeleteReservationResponse> deleteReservation({
required String reservationId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/prod/reservations/${Uri.encodeComponent(reservationId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteReservationResponse.fromJson(response);
}