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

# Cancel by Reservation

> Cancel a trip by GNet ID and Reservation #

<Note>
  A trip can also be cancelled by its Transaction ID — see [Cancel by Transaction ID](/platform-api/reservations/cancel-by-transaction-id).
</Note>


## OpenAPI

````yaml platform-api/openapi.json GET /cancelTripByResNo/{GRIDDID}/{RESNO}/{version}
openapi: 3.1.0
info:
  title: GNet Platform API
  description: >-
    RESTful API for exchanging ground transportation reservations over the GNet
    Platform (Platform.svc). Requesters send (farm-out) reservations; providers
    receive (farm-in) reservations and push status updates back.
  version: V1
  contact:
    name: GRiDD Support
    email: support@grdd.net
servers:
  - url: https://api.grdd.net/Platform.svc
    description: Production
security:
  - tokenAuth: []
tags:
  - name: Authentication
    description: Obtain and release security tokens
  - name: Reservations
    description: Submit, retrieve, cancel, and retry reservations
  - name: Provider Updates
    description: Provider systems push status changes to GNet
  - name: Tracking
    description: Real-time chauffeur/vehicle location
paths:
  /cancelTripByResNo/{GRIDDID}/{RESNO}/{version}:
    get:
      tags:
        - Reservations
      summary: 'Cancel trip by Reservation #'
      description: >-
        Cancels a trip by GNet ID and Reservation #. Supply your GNet ID and
        your reservation #.
      operationId: cancelTripByResNo
      parameters:
        - $ref: '#/components/parameters/griddId'
        - $ref: '#/components/parameters/resNo'
        - $ref: '#/components/parameters/version'
      responses:
        '200':
          description: Cancelled
          content:
            application/json:
              schema:
                type: string
              example: OK
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    griddId:
      name: GRIDDID
      in: path
      required: true
      description: GRiDD ID.
      schema:
        type: string
    resNo:
      name: RESNO
      in: path
      required: true
      description: 'Reservation #.'
      schema:
        type: string
    version:
      name: version
      in: path
      required: true
      description: API version. Must be set to `V1`.
      schema:
        type: string
        enum:
          - V1
  responses:
    Unauthorized:
      description: Unauthorized — missing or invalid `token` header
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: token
      description: Security token obtained from `getToken2`.

````