def unsubscribe():
        topic = request.headers.get('topic')
        subscriberIdentifier = request.headers.get('identifier')
        bootid = int(request.headers.get('bootid'))
        callbackAddress = request.remote_addr
        callbackPort = int(request.headers.get('callbackPort'))

        sm = SubscriptionManager()
        sm.removeSubscription(topic, subscriberIdentifier, bootid)

        logging.info('Unsubscribed successfully')
        logging.debug(sm.subs)

        return ('', 204)