Update Note Relations
PUT/notes/:id/relations
Update Note Relations
Request
Version stringrequired
API Version
Available options
2023-02-21id stringrequired
Note Id
locationId stringrequired
Location Id
- application/json
- Body
- Example (auto)
Bodyrequired
typestringrequired
The type of relation update operation
relationsobject[]required
List of relations to add or remove
{
"type": "add",
"relations": [
{
"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"
}
}