
SomilB.83649 (Customer) asked a question.
I am looking for a way to use the API to assign the default HELP_DESK_ADMIN role to a group, rather than the entire org. The documentation says its possible, but alas doesn't provide examples. https://developer.okta.com/docs/reference/api/roles/*role-types

I think the following is what you want to use keeping in mind this is a PUT request action.
{{url}}/api/v1/users/{{userId}}/roles/{{roleId}}/targets/groups/{{groupId}}
You can grab the Postman examples and take a look at "Add Group Target to Group Admin Role".
https://developer.okta.com/docs/reference/api/roles/