<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_attachment(self, id):
 """Delete attachment by id. :param id: ID of the attachment to delete :type id: str """

        url = self._get_url('attachment/' + str(id))
        return self._session.delete(url)