The easiest way is to check the network trace of manually updating Force Push Setting on the UI. You will be able to see the request URL and request body. Then run the same REST API in your PowerShell scripts.
See Collect a network trace in the browser for the detail steps of checking network trace.