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
Sent as JSON. Anything not listed here is ignored.
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.
DELETE
curl https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/notes/4c8e2a61-9b37-4d05-a6f1-0e3b7c9d2a58 \
-X DELETE \
-H "Authorization: Bearer $MONICA_TOKEN"
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}` },
})
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/notes/4c8e2a61-9b37-4d05-a6f1-0e3b7c9d2a58');
Response
204
[]
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.