revokeSessionsFromAllUsers method

Future<void> revokeSessionsFromAllUsers()

Revoke all sessions from all users.

For any session currently on the server (including admin) it will be revoked. Clients will be notified to log out users. Minimum server version: 5.14 ##### Permissions Must have manage_system permission.

Implementation

Future<void> revokeSessionsFromAllUsers() async {
  final response = await revokeSessionsFromAllUsersWithHttpInfo();
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}