I am trying to call the /api/auth.client as outlined in the https://download.peplink.com/resources/Peplink-Router-API-Documentation-for-Firmware-8.5.0.pdf
I am using this curl command:
curl -X POST https://192.168.50.1 -H “Content-Type: application/json” -d ‘{“name”:“homeassistant”,“scope”:“api”}’