Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
f18ec3111f25acdcfad3b74ae7f4d43ea078ab35
/
.
/
xos
/
api
/
examples
/
exampleservice
/
delete_exampletenant.sh
blob: 6eaf8b70d47585afbd8e8b9b6dec69dd2700e9fb [
file
] [
log
] [
blame
]
#!/bin/bash
source
./
config
.
sh
if
[[
"$#"
-
ne
1
]];
then
echo
"Syntax: delete_exampletenant.sh <id>"
exit
-
1
fi
ID
=
$1
curl
-
H
"Accept: application/json; indent=4"
-
u $AUTH
-
X DELETE $HOST
/
api
/
tenant
/
exampletenant
/
$ID
/