removeMemberFromGroup method

  1. @deprecated
Future<void> removeMemberFromGroup({
  1. required String name,
  2. String? key,
  3. String? username,
  4. String? accountId,
})

Remove user as a member from a group.

Permissions required: User must be a site admin.

Implementation

@deprecated
Future<void> removeMemberFromGroup(
    {required String name,
    String? key,
    String? username,
    String? accountId}) async {
  await _client.send(
    'delete',
    'wiki/rest/api/group/user',
    queryParameters: {
      'name': name,
      if (key != null) 'key': key,
      if (username != null) 'username': username,
      if (accountId != null) 'accountId': accountId,
    },
  );
}