The Open API specification for Synapse is now available for download!

Download Open API Spec

POST /entity/{id}/acl

Create a new Access Control List (ACL), overriding inheritance.

By default, Entities such as FileEntity and Folder inherit their permission from their containing Project. For such Entities the Project is the Entity's 'benefactor'. This permission inheritance can be overridden by creating an ACL for the Entity. When this occurs the Entity becomes its own benefactor and all permission are determined by its own ACL.

If the ACL of an Entity is deleted, then its benefactor will automatically be set to its parent's benefactor.

Note: The caller must be granted ACCESS_TYPE.CHANGE_PERMISSIONS on the Entity to call this method.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/entity/{id}/acl

Resource URL Variables
{id} The ID of the Entity to create an ACL for.
Resource Information
Authentication Required
Required OAuth Scopes view , modify
HTTP Method POST
Request Object AccessControlList
(application/json)
Response Object AccessControlList
(application/json)