How to Set the Remote execution flag on a network device with the api hammer or fact file?

Problem:
the most Host Systems we are registered have more then 1 Network interface card. I am looking for a way to configure the remote_execution_flag on the interface configuration page over the api or hammer or fact file. So the flag is set always to the correct interface.

Have any one a idea how i can do that. I have search for a fact or a api command but can not find this flag in there.

Foreman and Proxy versions:
Foreman: 2.2.0-rc3
SmartProxy: 2.2.0-rc3

foreman-tasks 3.0.0
foreman_ansible 6.0.0
foreman_discovery 16.2.0
foreman_docker 5.0.0
foreman_remote_execution 4.1.0
foreman_scc_manager 1.8.4
foreman_virt_who_configure 0.5.2
katello 3.17.0.rc1

CentOS Linux release 7.8.2003 (Core)

Kind regards
Fabian

It was added to api documentation in foreman_remote_execution-4.1.0 which you already have, so it should be doable through the API. A change exposing this in hammer was merged recently, but wasn’t released yet.