Hi @Elanhere
There is no "un-share" function.
You'll need to get the access rules for the project, iterate through them, skip the ones you want to remove using a filter, and collect the remaining rules. Then using a customAPI call, you'll need to set the access rules collection on the project.