To reproduce, use nonexists VRf for config API
set service https api keys id foo key 'foo' set system ip arp table-size '32768'
Before VRF
vyos@r1# curl -k --location --request POST 'https://localhost/retrieve' --form data='{"op": "showConfig", "path": ["system", "ip"]}' --form key='foo' {"success": true, "data": {"arp": {"table-size": "32768"}}, "error": null}
Add and delete vrf
set vrf name foo table 1010 set service https vrf foo commit del service https vrf foo commit
Re-check
vyos@r1# curl -k --location --request POST 'https://localhost/retrieve' --form data='{"op": "showConfig", "path": ["system", "ip"]}' --form key='foo' {"error": "service https api unavailable at this proxy address: set service https api-restrict virtual-host"