deleteUser($user); } catch (ApiException $exception) { throw ValidationException::withMessages([ 'password' => $exception->getTranslatedMessage(), ]); } } }