SDK
SDK Dart v2.x
2

deleteProfile #

Deletes a security profile.


 Future<Map<String, dynamic>> deleteProfile(String id,
  {bool waitForRefresh})

PropertyTypeDescription
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' }
  */