sharepoint online – Remove Role Definitions From SPO Group – Power Automate – MS Flow

I’m trying to remove full control role definitions from Site Owner Group, because I have added another permission level through Power Automate/MS Flow.

From Microsoft docs – Below is the syntax for POST Call


In Power Automate I tried like this

It says resource not found, I believe roledefinition is object not the roledefinition id but how can I send the object in Power Automate/Flow