Update note
Replace the text of a bullet or insert new children under it.
PATCH https://cotlet.dev/api/v1/remnote/notes/{note_id}
write Confirm
Replaces the text of one bullet, or adds children under it when children is set. The old text is not kept by this call, and in a shared knowledge base others see the change. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| note_id string required | string | Bullet ID from search_notes or get_document. |
| text string | string | New text for the bullet. |
| children string | string | Bullets to add under it, with leading dashes. |
Request
curl -X PATCH https://cotlet.dev/api/v1/remnote/notes/note_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("remnote", "update_note", {"note_id":"note_8c41d2"}) const result = await cotlet.call('remnote', 'update_note', {"note_id":"note_8c41d2"}); cotlet call remnote update_note --data '{"note_id":"note_8c41d2"}' Example response
{
"document_id": "rem_2c77e2",
"status": "updated",
"children_added": 0
}