deleteCredentials #
Deletes user credentials for the specified authentication strategy.
Future<Map<String, dynamic>> deleteCredentials(
String strategy, String id, {bool waitForRefresh})
Property | Type | Description |
---|---|---|
strategy | String | Strategy to use |
id | String | User id |
waitForRefresh | bool ( null ) | If set to true , Kuzzle will not respond until the credentials deletion is indexed |
Returns #
An acknowledgment message.
Usage #
final result = await kuzzle.security.deleteCredentials('local', 'john.doe');
/*
{ acknowledged: true }
*/
Edit this page on Github(opens new window)