summaryrefslogtreecommitdiffstats
path: root/scripts/service-remove-host.sh
blob: 41f6ca8715047d855edb59c25f7c18f42a2962d8 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh +x

curl\
  -H "Content-Type:application/json"\
  -H "Accept:applicaton/json"\
  --negotiate -u :\
  --cacert /etc/ipa/ca.crt\
  -d '{"method":"service_remove_host","params":[["test/dev.example.com@DEV.EXAMPLE.COM"],{"host":"dev.example.com"}],"id":0}'\
  -X POST\
  https://dev.example.com/ipa/json