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

# Cancel booking

> Cancel a booking.

<Info>
  In **API v2**, approve, reject, cancel, and reschedule are handled by one endpoint: [Update a booking](/api-reference/bookings/update) (`PATCH /bookings/{booking_id}`), not separate routes.
</Info>

<Info>Replace `{your-subdomain}` with your workspace’s subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled-v1/bookings.yaml POST /bookings/{booking_sid}/cancel
openapi: 3.0.3
info:
  title: NeetoCal Bookings APIs
  version: 1.0.0
servers:
  - description: NeetoCal APIs
    url: https://{your-subdomain}.neetocal.com/api/external/v1
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
tags:
  - name: Bookings
    description: APIs to create, list, reschedule, and cancel bookings.
paths:
  /bookings/{booking_sid}/cancel:
    post:
      tags:
        - Bookings
      summary: Cancel a booking
      description: Cancel a booking.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - in: path
          name: booking_sid
          description: SID of the booking that you want to cancel.
          required: true
          schema:
            type: string
            example: hda6gxy
        - in: query
          name: cancel_reason
          description: Reason for cancelling the booking.
          example: I am not available
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK - Booking cancel successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string

````