Create a group
Log in to add to favouritesCreates a new group resource from a Group object passed as an argument.
create(group: Group): Promise<Group>
Remarks
Only a member of the System Administrators group can create a group resource.
Example
let group = {
"name": "Paper Street Soap Company",
"Description": "Employees of the Paper Street Soap Company",
"type": "contensis",
"custom" : {
"clientId": "PSSC"
}
};
client.security.groups.create(group)
.then(result => {
console.log('API call result: ', result);
})
.catch(error => {
console.log('API call fetch error: ', error);
});