educative.io

Unnecessary parameter user_name in createURL API for KGS solution?

In the createURL API, since the parameter user_name would only be used in the URL encoding approach for generating a hash key, can it be removed from the createURL API if we’re going with the KGS solution (where we’re not appending the unique user_name to the input URL to make the URL unique before hashing)?

createURL(api_dev_key, original_url, custom_alias=None, user_name=None, expire_date=None)