Update Node Permissions by Node Path and Project Number
PUT /ws/rest/service/v1 /dm/permission/{projectNumber}/node/{node_path}
Purpose
This service provides the ability to add/update permissions of a node.
Input
Path parameters:
projectnumber: (Optional) project number(if not given, default is company workspace)
node_path : full node_path of the required node.
Output
JSON object containing 'status', 'data', 'message'
Example
To update permission of a node test3 under node path /test2 of project b1, give input as follows:
URL: http://<host>:<port>/ws/rest/service/v1/dm/permission/b1/node/test2/test3
Request Body:
{
"Inheritance": false,
"ApplyToAllSubFolders": false,
"UserPermission": [
{
"Type": "PG",
"GroupName": "Asset Managers",
"FullName": "Asset Managers",
"DocumentPermission": {
"View": 1,
"Move": 1,
"Copy": 1,
"Delete": 1,
"Download": 1,
"ModifyProperties": 1,
"ModifyPermissions": 1,
"AddComments": 1,
"Revise": 1
},
"FolderPermission": {
"View": 1,
"Move": 1,
"Copy": 1,
"Delete": 1,
"ModifyProperties": 1,
"ModifyPermissions": 1,
"CreateSubFolders": 1,
"AddDocuments": 1
}
}
]
}
Response in case success
[{
"message":
[ "node permissions are updated successfully"
],
"status":200
}]
Response in case error
[{ "message": [ "Invalid user name or user does not have permission to the current project" ], "status":1076 }]]
Related Topics
Search Document or Folder Properties
Rename Unpublished Document by File ID
Get Node Permissions by Node Path and Project Number
Get Node Permissions by Node Path, Project Number, and User or Group
Add Node Permissions by Node Path and Project Number
Remove Node Permissions by Node Path and Project Number
Remove Node Permissions by Node Path, Project Number, and User or Group
Set Permissions in Document Manager
Last Published Tuesday, July 1, 2025