<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_network(self, net_id):
 """ Remove a network. Similar to the ``docker network rm`` command. Args: net_id (str):
 The network's id """

        url = self._url("/networks/{0}", net_id)
        res = self._delete(url)
        self._raise_for_status(res)