blob: a8ba7ced7c17fd848fe07625661cc0cb560799e5 [file] [log] [blame]
#!/bin/bash
if [ "$#" -eq 1 ]; then
echo ""
curl -i -s \
--header "Content-type: application/json" \
--request POST \
-u onos:rocks \
--data '{
"input": {
"client-id": "'$1'"
}
}' 'http://localhost:8181/onos/restconf/operations/fpc:deregister-client'
echo ""
else
echo "usage: "$0" clientId"
fi