Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
webapi_user_rollback.php
Go to the documentation of this file.
1 <?php
8 
11 $userName = 'webapi_user';
12 $model->load($userName, 'username');
13 $model->delete();
14 
15 /* Unlock account if it was locked */
18 $throttler->resetAuthenticationFailuresCount($userName, RequestThrottler::USER_TYPE_ADMIN);