Last active
January 3, 2017 23:52
-
-
Save sideangleside/6dcc8ba431de5b718ba3de4665e7b744 to your computer and use it in GitHub Desktop.
Set host to autoheal: true via Sat 6 API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -k \ | |
-H "Content-Type: application/json" \ | |
-X PUT \ | |
-d '{"subscription_facet_attributes": {"id": 78, "autoheal": true}}' \ | |
https://satellite.example.com/api/hosts/virt-who-esxi01.example.com-1 \ | |
-u admin:redacted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment