Remove Node Permissions by Node Path and Project Number

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.

Request Parameters

projectnumber: (Optional) project number(if not given, default is company workspace)

node_path: full node_path of the required node.

Sample Request

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 Format

The REST service returns the status of the remove permission.

Sample Success Response

[

{

"message":[ "all permissions removed successfully for this node"],

"status":200

}

]

Sample Failed Response

[

{

"message":[ "The given node path does not exist"],

"status":1074

}

]