This method allows to create new user groups.
Parameters
(object/array)
User groups to create.
(object)
Returns an object containing the IDs of the created user groups under the usrgrpids
property. The order of the returned IDs matches the order of the passed user groups.
Examples
Creating a user group
Create a user group, which denies access to host group “2”, and add a user to it.
Response:
"jsonrpc": "2.0",
"result": {
"usrgrpids": [
]
},
"id": 1
Source
CUserGroup::create() in ui/include/classes/api/services/CUserGroup.php.