PATCH
/
v1
/
notes
/
{voiceNoteId}
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

voiceNoteId
string
required

Body

application/json
updates
object
required

Response

200
application/json
Successful response
id
string
required
title
string
required
updatedAt
string
required