Update BRK ACL
Updates the access control list for a BRK
This endpoint updates the access control list (ACL) for a BRK. It allows you to change the visibility of a BRK (public or private), control whether it can be cloned, and manage user permissions. Only the owner of a BRK or users with editor permissions can update the ACL.
Request
The ID of the BRK to update ACL for
Whether the BRK is public (visible to all users) or private (visible only to specified users)
Whether the BRK can be cloned by other users
Array of user email addresses and their permission levels
Example Request (Make Private)
Example Request (Make Public)
Response
Example Response
Error Codes
Bad Request - The request was malformed or missing required parameters
Unauthorized - Authentication credentials are missing or invalid
Forbidden - The authenticated user does not have permission to update the ACL for the requested BRK
Not Found - The requested BRK does not exist
Internal Server Error - An unexpected error occurred on the server
Notes
- Only the owner of a BRK or users with editor permissions can update the ACL.
- When making a BRK public (
isPublic: true
), it will be visible to all users, but only users with explicit permissions can edit or delete it. - When making a BRK private (
isPublic: false
), it will only be visible to users specified in theemails
array. - The
isClone
parameter controls whether other users can clone the BRK. Cloning creates a copy of the BRK that the user owns and can modify. - The
emails
array must include at least one user with owner permissions (permission level 2). - Permission levels:
- 0: Viewer (can view and execute the BRK)
- 1: Editor (can view, execute, and edit the BRK)
- 2: Owner (can view, execute, edit, and delete the BRK, as well as manage permissions)
- To check the current ACL for a BRK, use the Check BRK ACL endpoint.