delete method

Future<void> delete(
  1. ObjectId objectId
)

Deletes a specific API key by id.

Implementation

Future<void> delete(ObjectId objectId) {
  _user._ensureLoggedIn('delete an API key');

  return _user.handle.deleteApiKey(_user.app.handle, objectId).handle404();
}