mDeleteRoles method

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

Deletes multiple security roles.

Implementation

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

  return response.result as List<dynamic>;
}