public function createUser(User $user, $password = null, $redirectTo = null, $sendNotificationEmail = null)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['user' => $user, 'password' => $password, 'redirectTo' => $redirectTo, 'sendNotificationEmail' => $sendNotificationEmail], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/accounts/users', $parameters);
        $result = new User($result);

        return $result;
    }