AddUsersToGroup
This API adds user to group.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/groups/addUsers
Input Parameters
Parameter | Description |
---|---|
adminUser | User with admin rights (optional). |
adminPassword | Password for the admin user (optional). |
groupName | Name of the group to which users are to be added. |
UserList | List of users to be added to the group. Users may be one or many. |
certAlias | Client certificate alias for making SSL connections (optional). |
certPassword | Password for the provided certificate alias (optional). |
Sample REST call for cxf
request
{
"GroupUpdateRequest": {
"adminUser": "cryptouser",
"adminPassword": "asdf1234",
"groupName": "policy",
"UserList": {
"user": [
"abc12",
"pqr4321",
"crypto123"
]
}
}
}
response
{
"GroupUpdateResponse": {
"description": "[abc12, pqr4321, crypto123] added in the group."
}
}