Edit a note
update_contact_noteEdit a note
Rewrites the note's text. Only its author may: a key can edit the notes of the person
who created the key (403 not_note_author otherwise). Notes Mojeeb records, such as
status changes, can't be changed (403 system_note_read_only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The note. Text that is only spaces is `422 invalid_request`. | |
| note_id | Yes | A note on the contact's timeline. | |
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| contact_id | Yes | A contact of the agent. Another agent's contact is `404 not_found`. |