---
title: "Cancel appointment"
method: POST
path: "/api/users/{userId}/repair-orders/{referenceNum}/cancel-appointment"
tags: ["repair-order-controller"]
---

# Cancel appointment

`POST /api/users/{userId}/repair-orders/{referenceNum}/cancel-appointment`

Cancel an active appointment. Will throw an error if no appointment is scheduled or the appointment is already in progress or completed

## Path parameters

- `userId` integer, required
- `referenceNum` string, required

## Request body

- CancelAppointmentRequest
  - `userAcceptsCancellationFee` boolean — User has accepted the cancellation fee

## Response `200`

Appointment got cancelled successfully

---

[API](https://skmtc.dev/repairsmith/apis/autonation-mobile-service-developer-api.md) · [All operations](https://skmtc.dev/repairsmith/apis/autonation-mobile-service-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repairsmith/autonation-mobile-service-developer-api/revisions/8ef7fb1398f6/schema)
