End point: [RemoteTM URL]/permissions
Send a POST request with these headers:
Include these parameters in a JSON body:
memory |
ID of the memory to update |
permissions |
Array containing individual access rights, in the format produced by Get Permissions method |
Example:
{
"memory": "1619955225759",
"permissions": [{
"memory": "1619955225759",
"read": true,
"user": "projman",
"write": true,
"export": true
},{
"memory": "1619955225759",
"read": true,
"user": "sysadmin",
"write": true,
"export": true
},{
"memory": "1619955225759",
"read": true,
"user": "linguist",
"write": true,
"export": false
}]
}
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK'. Example:
{
"status": "OK"
}
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause.
Example:
{
"status": "Error",
"reason": "Access denied"
}