addUserToGroup method

  1. @deprecated
Future<void> addUserToGroup({
  1. required String name,
  2. required AccountId body,
})

Adds a user as a member in a group.

Permissions required: User must be a site admin.

Implementation

@deprecated
Future<void> addUserToGroup(
    {required String name, required AccountId body}) async {
  await _client.send(
    'post',
    'wiki/rest/api/group/user',
    queryParameters: {
      'name': name,
    },
    body: body.toJson(),
  );
}