Group restrictions API on Category

I have been trying to use discourse API for creating objects at the category, group level. I was able to create category & groups but unable to find an API where group based restrictions can be added for a selected category.Screenshot 2020-09-25 at 11.55.43 AM

See How to reverse engineer the Discourse API