Update Note Attachments
PATCH/notes/:id/attachments
Update Note Attachments
Request
Version stringrequired
API Version
Available options
2023-02-21id stringrequired
Note Id
locationId stringrequired
Location Id
- application/json
- Body
- Example (auto)
Bodyrequired
typestring
The type of attachment update operation
attachmentsobject[]
List of attachments to add or remove
{
"type": "add",
"attachments": [
{
"id": "att_1",
"objectKey": "contact",
"recordId": "sx6wyHhbFdRXh302LLNR"
}
]
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
noteobject
The note object
{
"note": {
"id": "HGPcayliwcdoUFzvbTok",
"body": "lorem ipsum",
"userId": "TUcmRxWrjqzJS8EjkxNK",
"dateAdded": "2021-07-08T12:02:11.285Z",
"contactId": "TUcmRxWrjqzJS8EjkxNK"
}
}