GroupManager_POST
Creates groups
Defined in: groupManager.js.
Constructor Attributes | Constructor Name and Description |
---|---|
GroupManager_POST(groups, pretty)
POST /wf/restapi/v2/admin/groupManager: This endpoint creates new groups or fails if the group already exists
|
Class Detail
GroupManager_POST(groups, pretty)
POST /wf/restapi/v2/admin/groupManager: This endpoint creates new groups or fails if the group already exists
- Parameters:
- groups
- An array of group objects to create. These objects should have the same structure as collected from GroupManager_GET but without the "id" property.
- pretty Optional, Default: false
- format the response to be human readable?
POST /wf/restapi/v2/admin/groupManager Body form-data: groups = [ { "loadingDockType": 10000, "hidden": false, "description": "Group to test creating new groups", "ldapDn": "", "priority": 2, "editLevel": 4, "loginText": "this is displayed on login", "viewLevel": 6, "name": "New Group", "users": [ 1 ] } ] Response: [ { "loadingDockType": 1, "hidden": false, "description": "Group to test creating new groups", "ldapDn": "", "priority": 2, "editLevel": 4, "loginText": "this is displayed on login", "viewLevel": 6, "name": "New Group", "id": 9, "acls": [], "users": [ 1 ] } ]