Request:
DELETE /api/repo/<connectorid>/acls?id=<id>&aclId=<aclId>&isFolder=<isFolder>
Description:
Removes a grantee from the item.
Path Parameters:
connectorid : The connector id of your content service connector
Query Parameters: id: The repository id of the item.
aclId: A pipe (|) delimited list of grantees to remove.
Optional Parameters: isFolder: Is the item a folder? Default is false.
DELETE
/api/repo/fn/acls?id=6385C1A5-EF01-45F1-86C3-FDC3C4E3B6A8&aclId=cn%3DTESTUser,0%3DSAMPLE|cn%3DTESTUser2,0%3DSAMPLE
Returns:
{
"success": "true"
}
A GET call should not return:
{
"results": [
"cn=P8User,O=SAMPLE:FULL_CONTROL"
],
"success": "true"
}
Example With cURL
curl -u admin:admin -X DELETE
"localhost:8081/3sixty-admin/api/repo/fn/acls?id=6385C1A5-EF01-45F1-86C3-FDC3C4E3B6A8&aclId=cn%3DTESTUser,0%3DSAMPLE|cn%3DTESTUser2,0%3DSAMPLE"
| json_pp