diff options
Diffstat (limited to 'scripts/service-remove-host.sh')
-rwxr-xr-x | scripts/service-remove-host.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/service-remove-host.sh b/scripts/service-remove-host.sh new file mode 100755 index 0000000..41f6ca8 --- /dev/null +++ b/scripts/service-remove-host.sh @@ -0,0 +1,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 |