mDeleteUsers #
Deletes multiple users.
Throws a partial error (error code 206) if one or more user deletions fail.
Future<List<dynamic>> mDeleteUsers(List<String> ids,
{bool? waitForRefresh})
Property | Type | Description |
---|---|---|
ids | List<String> | Array of user kuid |
waitForRefresh | bool? ( null ) | If set to true , Kuzzle will not respond until the users deletion is indexed |
Return #
A List of the deleted user ids.
Usage #
final result = await kuzzle.security.mDeleteUsers([
'mDeleteUser1',
'mDeleteUser2',
'mDeleteUser3'
]);
Edit this page on Github(opens new window)