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

# Cancel reservation

> Cancel a reservation. A 25% early termination fee is applied to the remaining balance. 75% is refunded to your credit balance.



## OpenAPI

````yaml /api-reference/openapi.json delete /reservations/{reservation_id}
openapi: 3.1.0
info:
  title: Nova Cloud API
  description: >-
    REST API for the Nova Cloud GPU rental platform. Manage virtual machines,
    SSH keys, billing, and more.
  version: 1.0.0
  contact:
    name: Nova Cloud Support
    email: support@nova-cloud.ai
    url: https://nova-cloud.ai
servers:
  - url: https://api.nova-cloud.ai
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Authentication
    description: User registration, login, and token management
  - name: API Keys
    description: Create and manage API keys for programmatic access
  - name: SSH Keys
    description: Upload and manage SSH public keys for VM access
  - name: Virtual Machines
    description: Create, manage, and monitor GPU-powered VMs
  - name: Search & Pricing
    description: Browse available GPU offers and current pricing
  - name: Billing
    description: Balance, usage, transactions, and payment management
  - name: Reservations
    description: Reserved instance pricing and management
paths:
  /reservations/{reservation_id}:
    delete:
      tags:
        - Reservations
      summary: Cancel reservation
      description: >-
        Cancel a reservation. A 25% early termination fee is applied to the
        remaining balance. 75% is refunded to your credit balance.
      operationId: cancel_reservation
      parameters:
        - name: reservation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Reservation cancelled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReservationResponse'
        '404':
          description: Reservation not found
components:
  schemas:
    ReservationResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        user_id:
          type: integer
        vm_id:
          type: string
          nullable: true
        reservation_months:
          type: integer
        discount_percent:
          type: number
        deposit_amount:
          type: number
        remaining_balance:
          type: number
        status:
          type: string
          enum:
            - active
            - completed
            - cancelled
            - converted_to_on_demand
        created_at:
          type: string
          format: date-time
        end_at:
          type: string
          format: date-time
        cancelled_at:
          type: string
          format: date-time
          nullable: true
        cancellation_fee:
          type: number
          nullable: true
        refund_amount:
          type: number
          nullable: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or API Key
      description: Use a JWT access token or API key (prefixed with nv_)

````