Request: POST /api/repo/<connectorid>/acls?id=<id>&isFolder=<isFolder>
Description:
Adds or replaces permissions for a user/group/grantee
Preset template and the breakdown for each is found above.
If the grantee already exists, their list will be replaced with the posted access rights.
Path Parameters:
connectorid: The connector id of your content service connector
Query Parameters:
id: The repository id of the item.
Request Body:
A JSON in the format {"Grantee":"Template1,Access1,..."}
Optional Parameters:
isFolder: Is the item a folder? Default false.
Example
POST /api/repo/fn/acls?id=6385C1A5-EF01-45F1-86C3-FDC3C4E3B6A8
Body: {"cn=TESTUser,0=SAMPLE":"READ_ACL,VIEW_CONTENT,WRITE_ACL"}
Returns:
{ "results": [ "cn=P8User,O=SAMPLE:FULL_CONTROL", "cn=P8Viewer,O=SAMPLE:VIEW_PROPERTIES", "cn=TESTUser,0=SAMPLE:READ_ACL,VIEW_CONTENT,WRITE_ACL" ], "success": "true" }