> ## Documentation Index
> Fetch the complete documentation index at: https://developer.tripedge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel a booking



## OpenAPI

````yaml get /book/cancel/{bookingId}
openapi: 3.0.0
info:
  title: Hotel Booking API
  version: 1.0.0
servers:
  - url: /api
    description: API server
security:
  - ApiKeyAuth: []
paths:
  /book/cancel/{bookingId}:
    get:
      summary: Cancel a booking
      operationId: cancelBooking
      parameters:
        - in: path
          name: bookingId
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Booking cancelled
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key for authentication

````