createGroup method

Future<Group> createGroup({
  1. required GroupName body,
})

Creates a new user group.

Permissions required: User must be a site admin.

Implementation

Future<Group> createGroup({required GroupName body}) async {
  return Group.fromJson(await _client.send(
    'post',
    'wiki/rest/api/group',
    body: body.toJson(),
  ));
}