---
title: "Delete a estimate"
method: DELETE
path: "/estimates/{estimateId}"
tags: ["estimates"]
---

# Delete a estimate

`DELETE /estimates/{estimateId}`

## Request

- Base URL: `https://api.lumahealth.io/api/v2`
- URL: `https://api.lumahealth.io/api/v2/estimates/{estimateId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lumahealth/apis/rest-service/docs/estimates/:estimateId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `estimateId` string, required

## Response `200`

Deleted estimate

- EstimateResponse: Represents a cost estimate generated for a patient ahead of a date of service, showing the total amount owed in cents, whether and when the patient has read it, and which party is billed first. Estimates are typically produced by a third-party provider, linked to a patient, an appointment, and an uploaded file, and a visibility flag controls whether the patient can see it.
  - `_id` string: Luma's internal ID of an object.
  - `user` string: The ID of the root account user.
  - `deleted` 0 | 1: Flag for logical deletion where 1 means deleted.
  - `createdBy` string: The ID of the user who created this object.
  - `updatedBy` string: The ID of the user who updated this object.
  - `createdAt` string, date-time: The date/time when this object was created.
  - `updatedAt` string, date-time: The date/time when this object was updated.
  - `date` string, date-time: The date of service.
  - `totalPatientAmountInCents` number: The total amount for the patient.
  - `readAt` string, date-time: The time that the estimate was read.
  - `payCode` object: The paycode from estimate.
    - `source` 'change-healthcare'
    - `value` string
  - `patient` string: ID of a patient.
  - `appointment` string: ID of an appointment.
  - `fileUpload` string: ID of a file upload.
  - `message` string: ID of a message.
  - `visible` boolean: Flag that indicates if estimate is visible or not to the patient.
  - `source` 'change-healthcare'
  - `searchIds` string[]: Search ID index.

## Other responses

- `401`: Not authenticated
- `403`: Access token does not have the required scope

---

[API](https://skmtc.dev/lumahealth/apis/rest-service.md) - [All operations](https://skmtc.dev/lumahealth/apis/rest-service/llms.txt) - [OpenAPI document](https://skmtc.dev/lumahealth/apis/rest-service/revisions/f19aeba84a26?raw)
