PUT /ws/rest/service/v1/dm/permission/{projectNumber}/node/{node_path}/remove
Purpose
This service allows user to retrieve permissions of a node by node_path and project number.
Input
projectnumber: (Optional) project number(if not given, default is company workspace)
node_path : full node_path of the required node.
Output:
Status of the remove permission.
Example:
To remove the permissions of node test3 under "/test2" of projectnumber b1, give the URL as follows.
URL http://<host>:port>/ws/rest/service/v1/dm/permission/b1/node/test2/test3
Response in case of success:
[
{
"message":
[ "all permissions removed successfully for this node"
],
"status":200
}]]
Response in case of error:
[
{
"message":
[ "The given node path does not exist"
],
"status":1074
}]]