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": "custom_objects.pet",
"recordId": "632c34b4c9b7da3358ac9891"
}
]
}
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",
"title": "Follow-up summary",
"color": "#FFAA00",
"pinned": false
}
}