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

# Post bookings cancel by user



## OpenAPI

````yaml POST /bookings/{bookingId}/cancel-by-user
openapi: 3.0.0
info:
  title: PLEC API
  description: PLEC backend API reference
  version: '1.0'
  contact: {}
servers:
  - url: https://api.plec-it.com
    description: Production
  - url: https://api-staging.plec-it.com
    description: Staging
  - url: http://localhost:3000
    description: Local Development
security: []
tags: []
paths:
  /bookings/{bookingId}/cancel-by-user:
    post:
      tags:
        - Bookings
      operationId: BookingsController_cancelBookingByUser
      parameters:
        - name: bookingId
          required: true
          in: path
          schema:
            type: string
        - name: dryRun
          in: query
          description: >-
            When true, validates/simulates but performs no writes. Required for
            docs playground.
          required: true
          schema:
            type: string
            enum:
              - 'true'
            default: 'true'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true

````