udclient [global-args...] [global-flags...]
importGroup [JSON file]
{
"authorizationRealm": "Authorization realm name",
"name": "Group name",
"users": ["User names"]
}
udclient -username admin -password admin
-weburl https://myserver.example.com:8443
importGroup newGroup.json
{
"name": "group1",
"authorizationRealm": "Internal Security",
"users": [
"jdoe",
"jsmith"
]
}
{
"id": "9dc44e77-e241-480e-8fbb-50f84b64b24b",
"name": "group1",
"enabled": true
}
Related REST command: Create a group.