AddGroupAsync

Adds a new group to a folder Returns (Task)

Create new Group in the designated Folder.

Name Description
folder The folder to add the group to
group The group information to add

Add Group Async

Example in C#

// Returns: GroupInfo
var groupInfo = await client.AddGroupAsync(FolderInfo folder, GroupInfo group);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/groups \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.GroupInfo, Feenics.Keep.WebApi.Model",
                       "Description":null,
                       "Key":null,
                       "CommonName":"ExampleGroupFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'