Update Note

PATCH /v1/participants/{participant_id}/notes/{id}

Path parameters

  • id string Required

    Note ID

application/json

Body

Edit Note Params

  • note object Required

    A note on a participant

    Additional properties are allowed.

    Hide note attributes Show note attributes object

Responses

  • 200 application/json

    Note response

    Hide response attribute Show response attribute object
    • data object

      A note on a participant

      Additional properties are allowed.

      Hide data attributes Show data attributes object
PATCH /v1/participants/{participant_id}/notes/{id}
curl \
 -X PATCH http://localhost:4000/v1/participants/{participant_id}/notes/uuidv4 \
 -H "Content-Type: application/json" \
 -d '{"note":{"id":0,"date":"","title":"","content":"","author_id":"","is_pinned":false}}'
Request example
{
  "note": {
    "id": 0,
    "date": "",
    "title": "",
    "content": "",
    "author_id": "",
    "is_pinned": false
  }
}
Response examples (200)
{
  "data": {
    "id": 0,
    "date": "",
    "title": "",
    "content": "",
    "author_id": "",
    "is_pinned": false
  }
}