@musallam/storage-and-collaboration-client
    Preparing search index...
    • This endpoint is deprecated and will be removed on 3/31/2025. Please use the /files/{assetId}/roles endpoint instead.

      The endpoint retrieves the explicit roles assigned to all users and groups for a specific file, identified by its assetId. This includes only the direct access control entries defined on the file itself and does not include any roles that are inherited from parent folders or the containing project.


      NOTE:

      • The response lists all users and groups that have direct access to the file, along with their respective roles (e.g., comment, edit).
      • This data is useful for auditing and role management but does not represent the full effective access unless inheritance is also considered.
      • The file must exist and the requester must have at least read-level access. If the file is not found or access is denied, appropriate error responses will be returned.

      Parameters

      Returns Promise<AssetRolesResponse>