Get user role definition with Power Automate and REST API

How to a site role definition to a site collection in a SharePoint Online list using a Power Automate flow.

Method #

GET

URI #

_api/web/roledefinitions/getbyname('Contribute')

Headers #

None

Body #

None

Screenshot with example #

Screen shot of Power Automate HTTP function.