mirror of
https://github.com/Telecominfraproject/wlan-cloud-userportal.git
synced 2025-11-02 03:27:48 +00:00
Removing extra logging
This commit is contained in:
@@ -147,6 +147,13 @@ getmyinfo() {
|
||||
jq < ${result_file}
|
||||
}
|
||||
|
||||
removeme() {
|
||||
curl ${FLAGS} -X DELETE "https://${target_service_endpoint}/api/v1/subscriber" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${token}" > ${result_file}
|
||||
jq < ${result_file}
|
||||
}
|
||||
|
||||
reboot() {
|
||||
payload="{ \"mac\" : \"04f8f8fc3771\" , \"when\" : 0 }"
|
||||
curl ${FLAGS} -X POST "https://${target_service_endpoint}/api/v1/action?action=reboot" \
|
||||
@@ -208,6 +215,7 @@ case "$1" in
|
||||
"wiredclients") login; wiredclients "$2" ; logout ;;
|
||||
"signup") signup ;;
|
||||
"getsignup") getsignup $2 ;;
|
||||
"removeme") login; removeme ; logout ;;
|
||||
*) help ;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user