URL="https://$hostname/api/captiveportal/session/disconnect/0/"curl -k -u "$key:$secret" "$URL" -d '{"sessionId":"QF9q7AhTXp69nWy2qMP6pg=="}' -H 'Content-Type: application/json'
URL="https://$hostname/api/captiveportal/session/list/"curl -k -u "$key:$secret" "$URL"
curl -k -u "$key:$secret" "$URL" | jq '.[].ipAddress'
| jq '.[].authenticated_via'