API to remove inherited permissions
It seems to be years since I've been back to the community but here I am with a question that I didn't quite get a fruitful answer from support.
API Basics say to add viewing for a user for a particular object, you do:
v10.0/optask/issueIDxxxx?updates={"accessRules":[{"accessorID":"groupIDxxxx","accessorObjCode":"GROUP","coreAction":"VIEW"}]}
This is fine and adds the share but I want the reverse, I want to remove inherited permissions for all other users of the object.
I would have tough that the api above would overwrite and set the group with the share permission and remove others but it does not. Apparently, that's how it should work according to support. I asked though what's the API call to remove inherited users and all he said was to remove the permission from the parent object. That's really not what I needed.
So - I'm asking the community whether you have other ideas on how to implement this without me manually going to the issue and removing inherited permissions one by one?
Regards.

