Through actual API it's possible to share project/folder with users and groups but it is not possible to add exception (like in the UI). When there are parent rights different from child (ex: user have read access in the parent and have write access in one of child project) we cannot specify custom right for one user through API.
Thank you for your feedback! Now other members can find, vote, and discuss your idea.
Our Community Team reads every suggestion (yes, every one) then compiles and shares the feedback with our Product Team. Happy posting!