Delete an item
DELETE
/api/v1/vaults/{vault}/knowledge/lists/{list}/items/{item}
Delete an item of a list, with everything written in it.
The deletion is final.
The change is written to the account log.
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.
list
uuid
Required
The id of the list. A list of another vault or of another account answers 404.
item
uuid
Required
The id of the item. An item of another list answers 404.
Returns
Nothing. An item of another list 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/lists/e94b1c37-6a28-4d50-8b3f-2c7e9a4d1f68/items/3c9d7b28-1f54-4e8a-b6c0-5a2e9d4f7b13 \
-X DELETE \
-H "Authorization: Bearer $MONICA_TOKEN"
const response = await fetch('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/lists/e94b1c37-6a28-4d50-8b3f-2c7e9a4d1f68/items/3c9d7b28-1f54-4e8a-b6c0-5a2e9d4f7b13', {
method: 'DELETE',
headers: { Authorization: `Bearer ${token}` },
})
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/lists/e94b1c37-6a28-4d50-8b3f-2c7e9a4d1f68/items/3c9d7b28-1f54-4e8a-b6c0-5a2e9d4f7b13');
Response
204
[]
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.