> ## 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.

# Reject booking

> Reject a booking. The booking must be in `awaiting_approval` status.

<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}/reject
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}/reject:
    post:
      tags:
        - Bookings
      summary: Reject a booking
      description: Reject a booking. The booking must be in `awaiting_approval` status.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - in: path
          name: booking_sid
          description: SID of the booking that you want to reject.
          required: true
          schema:
            type: string
            example: 8sqtzrs
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                rejection_reason:
                  type: string
                  description: Optional reason for rejecting the booking.
                  example: Time slot no longer available
      responses:
        '200':
          description: OK - Booking rejected successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Booking rejected successfully
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

````