summaryrefslogtreecommitdiffstats
path: root/scripts/hostgroup-show.sh
blob: 8717cbbef4dd514b04e3a5daff7af4d3347eb2df (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":"hostgroup_show","params":[["test"],{}],"id":0}'\
  -X POST\
  https://dev.example.com/ipa/json