disable method

Future<void> disable(
  1. ObjectId objectId
)

Disables an API key by id.

Implementation

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

  return realmCore.disableApiKey(_user, objectId).handle404(id: objectId);
}