> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.taigabilling.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.taigabilling.com/_mcp/server.

# Delete Encounter Attachment

DELETE https://api.taigabilling.com/api/encounter-attachments/v1/{encounter_id}
Content-Type: application/json

Reference: https://docs.taigabilling.com/api-reference/encounter-attachments-v-1/encounter-attachments-v-1-delete

## Authentication

- `Authorization` header (bearer token, required) — Send your Taiga API key as a Bearer token. Create and manage keys in the Taiga developer portal.

## Servers

- `https://api.taigabilling.com` (Production, default)
- `https://api-staging.taigabilling.com` (Staging)

## Request

### Path parameters

- `encounter_id` (string, required)

### Body (application/json)

This endpoint expects an object.

- `attachment_id` (string, required)

## Examples

**Request**

```json
{
  "attachment_id": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.taigabilling.com/api/encounter-attachments/v1/encounter_id"

payload = { "attachment_id": "string" }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.delete(url, json=payload, headers=headers)

print(response.json())
```