Update ACL object
To update ACL object, send PUT request to according URL:
https://api.appery.io/rest/1/db/files/<fileName>/acl
X-Appery-Master-Key header may be specified instead of X-Appery-Session-Token, granting access to DB.
cURL
curl -X PUT \
-H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9" \
-H "X-Appery-Session-Token: 6fb9515d-82fd-43b3-9124-f0534dceca8e" \
-H "Content-Type: application/json" \
-d '{<user>:{<permissionType>:<boolean>,...},...}'
https://api.appery.io/rest/1/db/files/MyFile.txt/acl
is userId, or " * " for 'public' ACL;
is "read" or "write";