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

# /realms/{realmId}/organizations/{organizationId}/travel/trips/{tripId}/items/{itemId}/cancel



## OpenAPI

````yaml /api-reference/travel.openapi.json post /realms/{realmId}/organizations/{organizationId}/travel/trips/{tripId}/items/{itemId}/cancel
openapi: 3.0.3
info:
  title: Travel
  version: 1.0.0
  description: >-
    Portão 3 travel API. Generated by tools/openapi from code (routes +
    security) and the hand-written spec (request/response bodies). Search proxy
    (air/hotel/bus/vehicle) + passenger directory. Search POST bodies are
    validated per-vertical in the handler (tier=unknown); passenger bodies carry
    route-level zod schemas (typed). Responses proxied/presented without a
    schema layer. Confidence tiers: generated:typed=4 copied:manual=0
    unknown=17.
servers:
  - url: https://api.travel.v2.portao3.com.br/
    description: production
  - url: https://api.travel.dev.3pers.com.br/
    description: development
security:
  - bearerAuth: []
tags:
  - name: Travel Passengers
  - name: Travel Trips
  - name: Travel Search
paths:
  /realms/{realmId}/organizations/{organizationId}/travel/trips/{tripId}/items/{itemId}/cancel:
    post:
      tags:
        - Travel Trips
      summary: >-
        /realms/{realmId}/organizations/{organizationId}/travel/trips/{tripId}/items/{itemId}/cancel
      operationId: >-
        postRealmsByRealmIdOrganizationsByOrganizationIdTravelTripsByTripIdItemsByItemIdCancel
      parameters:
        - name: realmId
          in: path
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
        - name: tripId
          in: path
          required: true
          schema:
            type: string
        - name: itemId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cancellationQuoteId:
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                sendToManualCancellationOnFail:
                  description: >-
                    When true, a provider-rejected cancellation is sent to
                    manual cancellation instead of failing.
                  type: boolean
              required:
                - cancellationQuoteId
      responses:
        default:
          description: Undocumented response (no code type, no existing spec).
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````