mDeleteUsers method

Future<List> mDeleteUsers(
  1. List<String> ids, {
  2. bool? waitForRefresh,
})

Deletes multiple security users.

Implementation

Future<List<dynamic>> mDeleteUsers(List<String> ids,
    {bool? waitForRefresh}) async {
  final response = await kuzzle.query(KuzzleRequest(
      controller: name,
      action: 'mDeleteUsers',
      body: <String, dynamic>{
        'ids': ids,
      }));

  return response.result as List<dynamic>;
}