<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def user_disable_throw_rest_endpoint(self, username, url='rest/scriptrunner/latest/custom/disableUser', param='userName'):
 """The disable method throw own rest enpoint"""

        url = "{}?{}={}".format(url, param, username)
        return self.get(path=url)