mDeleteProfiles #
Deletes multiple security profiles.
Throws a partial error (error code 206) if one or more profile deletions fail.
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 #
final result = await kuzzle.security.mDeleteProfiles([
'profile1',
'profile2',
'profile3',
'profile4',
'profile5'
]);
/*
[ 'profile1', 'profile2', 'profile3', 'profile4', 'profile5' ]
*/
Edit this page on Github(opens new window)