I have a few scripts that use curl to help me with repo administration. One of the scripts helps me set repo permissions. It used to work fine using the 1.0 privileges endpoint. Now I need to move to 2.0 and I can't figure out how to set permissions in the 2.0 API.
Can anyone provide an example?