I am trying to set a list of permissions on a node with CS API. If I pass a list of permissions settings, only the first gets set. I I make multiple calls, only the last value is saved. It overwrites the previous setting.
Here's the URL: PUT http://10.9.110.242/otcs/cs.exe/api/v2/nodes/418531/permissions/group HTTP/1.1
Should I be using POST here?
Here's the non-URL-encoded body:
[
{
"permissions": [
"add_items",
"edit_attributes",
"edit_permissions",
"modify",
"reserve",
"add_major_version",
"see",
"see_contents"
],
"right_id": 13164
},
{
"permissions": [
"add_items",
"edit_attributes",
"modify",
"reserve",
"add_major_version",
"see",
"see_contents"
],
"right_id": 12621
}
]