Does the Permissions REST API support setting perms for Group Roles?

I took a look at the new Permissions REST API and see that it takes a Role ID as an input, but I am curious if it can be used for Group Roles (Owners, Managers, Members)?  If yes, where do I get the IDs for the Group Roles?  Are the same IDs used for Group Roles across all Groups, or does each Group have their own IDs for those Roles?

Thanks.