To add a custom permission to a List or an item, we can use SPRoleAssignmentCollection and we can also use AddToCurrentScopeOnly to avoid adding users with Limited Access permission to the parent.
In REST API, there is an endpoint for RoleAssignmentCollection and RoleAssignment. How do I use AddToCurrentScopeOnly with REST API? I did not find any reference in MSDN article.
Any pointers please?