How to create new network interface using jsonrpc

i want this config to be written in /etc/config/network
config interface 'wwan'
option proto 'dhcp'
Please help creating a new interface with name 'wwan'
this is my json
{"jsonrpc": "2.0", "id": "2", "method": "call", "params": ["11111111111", "uci", "add", {
"config": "network","type": "interface","section":"wwan", "values": {
"proto": "dhcp" } }]
}

  • This is not enough information to assist you
  • An interface wan6 is present by default