curl --request PATCH \
--url https://api.example.com/v1/notes/:id \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>",
"note_type": "<string>",
"tags": [
{}
],
"is_pinned": true
}
'{
"data": {}
}Update an existing note
curl --request PATCH \
--url https://api.example.com/v1/notes/:id \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>",
"note_type": "<string>",
"tags": [
{}
],
"is_pinned": true
}
'{
"data": {}
}Authorization: Bearer wbk_your_api_key_here
Content-Type: application/json
id, title, note_type, tags, is_pinned, updated_datecurl -X PATCH https://data.leadlex.com/functions/v1/api-gateway/v1/notes/note-001 \
-H "Authorization: Bearer wbk_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{ "is_pinned": true }'
| Status | Code | Description |
|---|---|---|
| 404 | not_found | Note not found |
| 403 | insufficient_permissions | Missing contacts:write permission |