curl -k -u {{ opnsense_key }}:{{ opnsense_secret }} https://{{ fwhost }}/api/wireguard/client/searchClient
curl -X POST -d '{"enabled”:"1",”name”:”test.user”,“pubkey“:“$key“,“tunneladdress“:“xxx.xxx.xxx.xxx/xx“}' -H "Content-Type: application/json" -k -u $key:$secret https://$IP/api/wireguard/client/addClient
curl \--location --request POST 'https://{{fwhost}}/api/wireguard/client/addClient' \--header 'Authorization: Basic {{token}} \--header 'Content-Type: application/json' \--data-raw '{"client":{"tunneladdress":"$address","name":"$user","enabled":1,"pubkey":"$key"}}'
https://{{fwhost}}/api/wireguard/client/setClient/{{uuid}}
curl \--location --request POST 'https://{{fwhost}}/api/wireguard/client/delClient/{{uuid}}' \--header 'Authorization: Basic {{token}}' \--data-raw ''