Notes Update
PUT /v1/notes/{note_id}
This operation can change data. Use resources you control.
Request fields
| Field | Location | Type | Required |
|---|---|---|---|
note_id | path | string | Required |
accent_color | body | string | null | Optional |
api_key_id | body | string | null | Optional |
api_key_name | body | string | null | Optional |
content_json | body | string | null | Optional |
is_pinned | body | boolean | null | Optional |
preview_text | body | string | null | Optional |
title | body | string | null | Optional |
Examples
Use the environment settings from Quickstart. Replace sample resource IDs with your own. The examples show the required request shape.
import { MaxClient } from "@elmax/api";
const max = new MaxClient({
baseURL: process.env.MAX_API_URL,
apiKey: process.env.MAX_API_KEY,
});
const result = await max.api.putV1NotesNoteId({
"path": {
"note_id": "note_example"
},
"body": {}
});
console.log(result);import os
from elmax_ai import MaxClient
with MaxClient(base_url=os.environ["MAX_API_URL"], api_key=os.environ["MAX_API_KEY"]) as max:
result = max.api.put_v1_notes_note_id(**{'path': {'note_id': 'note_example'}, 'body': {}})
print(result)