curl --request PATCH \
--url https://app.enzo.health/api/v1/notes/{voiceNoteId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"updates": {
"newTitle": "<string>",
"duration": 123,
"isFavorite": true,
"isDeleted": true,
"date": "<string>"
}
}
'{
"id": "<string>",
"title": "<string>",
"updatedAt": "<string>"
}curl --request PATCH \
--url https://app.enzo.health/api/v1/notes/{voiceNoteId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"updates": {
"newTitle": "<string>",
"duration": 123,
"isFavorite": true,
"isDeleted": true,
"date": "<string>"
}
}
'{
"id": "<string>",
"title": "<string>",
"updatedAt": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.