Monica
Log in
API v1
v1
View as Markdown

Delete a note

DELETE /api/v1/vaults/{vault}/groups/{group}/notes/{note}

Delete a note about a group. Nothing else changes.

Groups are not yet available to every account. Until they are available to yours, every endpoint here answers 404.

Path parameters

Sent as JSON. Anything not listed here is ignored.

vault string Required

The vault the group lives in, named either by the readable name it reports as slug or by its id.

group uuid Required

The id of the group. One addressed through the wrong vault, deleted, or belonging to another account, answers 404.

note uuid Required

The id of the note. One addressed through another group answers 404.

Returns

Nothing at all.

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://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/groups/5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7/notes/9e3c51b7-2d84-4f60-a1c9-6b07d4e8f235 \
-X DELETE \
-H "Authorization: Bearer $MONICA_TOKEN"
const response = await fetch('https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/groups/5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7/notes/9e3c51b7-2d84-4f60-a1c9-6b07d4e8f235', {
method: 'DELETE',
headers: { Authorization: `Bearer ${token}` },
})
$response = Http::withToken($token)->delete('https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/groups/5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7/notes/9e3c51b7-2d84-4f60-a1c9-6b07d4e8f235');
Response 204

No content.

Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.