---
title: "Delete Attachment by Charge Capture External ID"
method: DELETE
path: "/api/encounter-attachments/v1/by-charge-capture-external-id/{charge_capture_external_id}"
tags: ["v1"]
---

# Delete Attachment by Charge Capture External ID

`DELETE /api/encounter-attachments/v1/by-charge-capture-external-id/{charge_capture_external_id}`

## Request

- Base URL: `https://pre-api.joincandidhealth.com`
- URL: `https://pre-api.joincandidhealth.com/api/encounter-attachments/v1/by-charge-capture-external-id/{charge_capture_external_id}`
- Auth: HTTP bearer

Deletes an attachment associated with the given charge capture external ID.

## Path parameters

- `charge_capture_external_id` string, required

## Request body

- object
  - `attachment_id` string, uuid, required

## Response `200`

Successful response

## Changes

- **2026-09-17** `24b2d80d577a`: 1 breaking, 1 warning, 1 info
  - the `attachment_id` request property type changed from no type to `string`, and format from no format to `uuid`
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `OAuthScheme` was added to the API
- **2026-09-12** `3a81ee81d4ed`: 1 info
  - api operation id `delete-by-charge-capture-external-id` removed and replaced with `v1_delete-by-charge-capture-external-id`

[Operation history](https://skmtc.dev/joincandidhealth/apis/api-reference/changes/api/encounter-attachments/v1/by-charge-capture-external-id/:charge_capture_external_id/delete.md)

---

[API](https://skmtc.dev/joincandidhealth/apis/api-reference.md) - [All operations](https://skmtc.dev/joincandidhealth/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/joincandidhealth/apis/api-reference/revisions/d8b0a61873e2?raw)
