SDK
SDK Dart Null Safety v3.x
2

mDeleteProfiles #

Deletes multiple security profiles.

Throws a partial error (error code 206) if one or more profile deletions fail.


Copied to clipboard!
Future<List<dynamic>> mDeleteProfiles(List<String> ids, {bool? waitForRefresh})

Property Type Description
ids List<String> Profile identifiers
waitForRefresh
bool?

(null)
If set to true, Kuzzle will not respond until the profiles deletion is indexed

Return #

A List of the deleted profile ids.

Usage #

Copied to clipboard!
final result = await kuzzle.security.mDeleteProfiles([
  'profile1',
  'profile2',
  'profile3',
  'profile4',
  'profile5'
]);
  /*
  [ 'profile1', 'profile2', 'profile3', 'profile4', 'profile5' ]
    */