I just found another thing I need to try to automate to configure our McAfee products.
Is it possible to import Automatic Responses from an XML file through the Web API?
I don't think any of those can be done through supported commands in the web API. Most of those tasks are one-time configuration type things that we would expect to be done by someone at the console vs. ongoing automation.
For the group creation you might be able to get around it by creating a server task to import systems from file, and then calling that task from the web API; groups will be created when you import a file (if they have paths).