{
"ACL": {
"*": {
"read": true,
"write": false
}
},
"content": {},
"createdAt": "string",
"deletedBy": {
"__type": "Relation",
"className": "_User"
},
"objectId": "string",
"process": "string",
"public": true,
"readBy": {
"__type": "Relation",
"className": "_User"
},
"sender": {
"__type": "Pointer",
"className": "_User",
"objectId": "string"
},
"status": 0,
"type": "string",
"updatedAt": "string",
"user": {
"__type": "Pointer",
"className": "_User",
"objectId": "string"
}
}
curl --location --request PUT 'https://prod.iotn2n.com/iotapi/amis/Notification/' \
--header 'Content-Type: application/json' \
--data-raw '{
"ACL": {
"*": {
"read": true,
"write": false
}
},
"content": {},
"createdAt": "string",
"deletedBy": {
"__type": "Relation",
"className": "_User"
},
"objectId": "string",
"process": "string",
"public": true,
"readBy": {
"__type": "Relation",
"className": "_User"
},
"sender": {
"__type": "Pointer",
"className": "_User",
"objectId": "string"
},
"status": 0,
"type": "string",
"updatedAt": "string",
"user": {
"__type": "Pointer",
"className": "_User",
"objectId": "string"
}
}'
{
"objectId": "string",
"updatedAt": "2019-08-24T14:15:22Z"
}