deleteApiKey method

Future<void> deleteApiKey(
  1. String userId,
  2. String id, {
  3. bool? waitForRefresh,
})

Deletes user API key.

Implementation

Future<void> deleteApiKey(String userId, String id,
    {bool? waitForRefresh}) async {
  await kuzzle.query(KuzzleRequest(
    controller: name,
    action: 'deleteApiKey',
    userId: userId,
    uid: id,
    waitForRefresh: waitForRefresh,
  ));
}