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 _user.handle.disableApiKey(_user.app.handle, objectId).handle404(id: objectId);
}