Delete a bundle.

        :param href: the relative href to the bundle.
        :type href: string, may not be None
        :return: nothing
        :raises APIException: If the response code is not 204.

def delete_bundle(self, href=None):
        """
        Delete a bundle.

        :param href: the relative href to the bundle.
        :type href: string, may not be None
        :return: nothing
        :raises APIException: If the response code is not 204.
        """

        # Argument error checking.
        assert href is not None

        raw_result = self.delete(href)

        if raw_result.status != 204:
            raise APIException(raw_result.status, raw_result.json)