---
title: "Soft-delete your own visit note from the iPhone app"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Conversations

`DELETE /api/field-sales/rep/appointments/{id}/notes/{noteId}`

## Authentication

- `BearerAuth`, http, header `Authorization`, format `JWT`

## Path parameters

- `id` (`delete/api/field-sales/rep/appointments/id/notes/noteId.path.id`; string, required)
  - format `uuid`
- `noteId` (`delete/api/field-sales/rep/appointments/id/notes/noteId.path.noteId`; string, required)
  - format `uuid`

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://api.channelautomation.com/api/field-sales/rep/appointments/<id>/notes/<noteId>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/field-sales/rep/appointments/<id>/notes/<noteId>';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/field-sales/rep/appointments/<id>/notes/<noteId>"

headers = {"Authorization": "Bearer <token>"}

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

print(response.text)
```

## Responses

### 200

{ success: true }

### 403

Caller is not the author


Source: https://developer.channelautomations.com/api/delete-api-field-sales-rep-appointments-id-notes-note-id/index.md
