# Delete a note

`DELETE /api/v1/vaults/{vault}/knowledge/notes/{note}`

Delete a note of a vault's Knowledge.

The deletion is final. The account log keeps the title of the note.

## Path parameters

- `vault` (string, required): The vault, named either by the readable name it reports as slug or by its id. A vault of another account answers 404.
- `note` (uuid, required): The id of the note. A note of another vault or of another account answers 404.

## Returns

Nothing. A note of another vault or of another account answers 404.

## Rate limit

Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in `X-RateLimit-Remaining`.

## Request

```sh
curl https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/notes/4c8e2a61-9b37-4d05-a6f1-0e3b7c9d2a58 \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/notes/4c8e2a61-9b37-4d05-a6f1-0e3b7c9d2a58', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/notes/4c8e2a61-9b37-4d05-a6f1-0e3b7c9d2a58');
```

## Response

`204`

```json
[]
```
