blob: a8ba7ced7c17fd848fe07625661cc0cb560799e5 [file] [log] [blame]
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -08001#!/bin/bash
2
3if [ "$#" -eq 1 ]; then
4 echo ""
5 curl -i -s \
6 --header "Content-type: application/json" \
7 --request POST \
8 -u onos:rocks \
9 --data '{
10 "input": {
11 "client-id": "'$1'"
12 }
13 }' 'http://localhost:8181/onos/restconf/operations/fpc:deregister-client'
14 echo ""
15else
16 echo "usage: "$0" clientId"
17fi