src/apis/UserController.php
public function actionChangeSettings()
    {
        $params = Yii::$app->request->bodyParams;
        
        foreach ($params as $param => $value) {
            Yii::$app->adminuser->identity->setting->set($param, $value);
        }
        
        return true;
    }
public function actionChangeSettings()
    {
        $params = Yii::$app->request->bodyParams;
        
        foreach ($params as $param => $value) {
            Yii::$app->adminuser->identity->setting->set($param, $value);
        }
        
        return true;
    }
public function actionChangeSettings ( ) { $ params = Yii :: $ app -> request -> bodyParams ; foreach ( $ params as $ param => $ value ) { Yii :: $ app -> adminuser -> identity -> setting -> set ( $ param , $ value ) ; } return true ; }
Change user settings.

@return boolean
Change user settings .