deleteProfile #
Deletes a security profile.
Future<Map<String, dynamic>> deleteProfile(String id,
{bool waitForRefresh})| Property | Type | Description |
|---|---|---|
id | String | Profile identifier |
waitForRefresh | bool ( null) | If set to true, Kuzzle will not respond until the profile deletion is indexed |
Return #
An object containing the kuid of the deleted profile in its _id property.
Usage #
final result = await kuzzle.security.deleteProfile('myProfile');
/*
{ _id: 'myProfile' }
*/