public function removeUser($username)
    {
        // This preserves compatibility for the old policy parameter.
        $params = [];

        $url = UrlHelper::buildUrl(Urls::URL_USER, [$username]);
        $url = UrlHelper::appendParamsUrl($url, $params);
        $this->getConnection()->delete($url);

        return true;
    }