Js Snclient

const response = await repository.security.getParentGroups({
contentIdOrPath: '/Root/IMS/Public/businesscat',
directOnly: true
})