Read role assignments
documentedList role assignments on the site.
GET {site_url}/_api/web/roleassignmentsPermissionsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$site_url}}/_api/web/RoleAssignments?$expand=Member/Users,RoleDefinitionBindings" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json;odata=nometadata"