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

# Cancel a booking as a guest

> Cancels a booking on behalf of the guest, honoring the experience's cancellation policy.



## OpenAPI

````yaml post /v1/bookings/{bookingId}/guest-cancellation
openapi: 3.0.0
info:
  title: Way Partner API
  description: >-
    REST API for Way partners: list experiences, check availability, run
    checkout, and manage bookings.
  version: '1.0'
servers:
  - url: https://api.letsway.com
    description: Production.
  - url: https://api.staging.letsway.com
    description: Staging.
security: []
tags:
  - name: Listings
    description: 'Retrieve the listings a brand offers: experiences, events, and resources.'
  - name: Availability
    description: Dates, sessions, and price tiers for scheduling a booking.
  - name: Carts & Checkout
    description: >-
      Payment intents and booking creation. The cart ID is a client-generated
      UUID; there is no create-cart endpoint.
  - name: Bookings
    description: Retrieve, cancel, and reschedule bookings.
  - name: Experiences
    description: Experience details, settings, custom questions, reviews, and hosts.
  - name: Brand Configuration
    description: Brand settings, taxonomy, terms, and promotion code validation.
  - name: Waitlists
    description: Waitlists for sold-out sessions and invitation handling.
  - name: Integrations
    description: Configured integrations, analytics, and room-charge validation.
  - name: Organizations
    description: Organization-level access across brands.
paths:
  /v1/bookings/{bookingId}/guest-cancellation:
    post:
      tags:
        - Bookings
      summary: Cancel a booking as a guest
      description: >-
        Cancels a booking on behalf of the guest, honoring the experience's
        cancellation policy.
      operationId: BookingPublicController_cancelBooking
      parameters:
        - $ref: '#/components/parameters/bookingIdPath_39'
        - $ref: '#/components/parameters/providerBrandIdQuery'
      responses:
        '204':
          description: Booking canceled successfully.
        '400':
          description: Invalid booking.
        '404':
          description: Booking not found.
      security:
        - Brand-API-Key: []
components:
  parameters:
    bookingIdPath_39:
      name: bookingId
      in: path
      schema:
        type: string
      required: true
      description: The booking's ID.
      example: 019f5ca1-4dc1-775d-a40d-833f44bfccf4
    providerBrandIdQuery:
      name: providerBrandId
      in: query
      description: Provider brand ID.
      schema:
        type: string
      required: false
  securitySchemes:
    Brand-API-Key:
      type: http
      scheme: bearer
      description: >-
        Your brand's secret API key, e.g. `Bearer
        way_sk_live_bhEqcn0i1fRoUEHBPjJkQA`. Older `Way-Brand-Id` +
        `Way-Secret-Key` credentials still work: see [Legacy
        authentication](/legacy-authentication).

````