Delete an Item List on the server

        :type item_list_url: String or ItemList
        :param item_list_url: the URL of the list to which to add the items,
            or an ItemList object

        :rtype: Boolean
        :returns: True if the item list was deleted

        :raises: APIError if the request was not successful

def delete_item_list(self, item_list_url):
        """ Delete an Item List on the server

        :type item_list_url: String or ItemList
        :param item_list_url: the URL of the list to which to add the items,
            or an ItemList object

        :rtype: Boolean
        :returns: True if the item list was deleted

        :raises: APIError if the request was not successful
        """

        try:
            resp = self.api_request(str(item_list_url), method="DELETE")

            # all good if it says success
            if 'success' in resp:
                return True
            else:
                raise APIError('200', 'Operation Failed', 'Delete operation failed')
        except APIError as e:
            if e.http_status_code == 302:
                return True
            else:
                raise e