summaryrefslogtreecommitdiffstats
path: root/scripts/taskgroup-add.sh
blob: 6a9660c949091c7059da74b3e57f6dc81509aaaa (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":"taskgroup_add","params":[["test"],{"description":"Test task"}],"id":0}'\
  -X POST\
  https://dev.example.com/ipa/json