code: def _view_clear_queue(self, queue_type, queue_id):
          
          response = {
              'status': 'failure'
          }
          try:
              request_data = json.loads(request.data)
          except Exception, e:
              response['message'] = e.message
              return jsonify(**response), 400
          
          request_data.update({
              'queue_type': queue_type,
              'queue_id': queue_id
          })
          try:
              response = self.sq.clear_queue(**request_data)
          except Exception, e:
              response['message'] = e.message
              return jsonify(**response), 400
  
          return jsonify(**response)
docs: remove queueu from SharQ based on the queue_type and queue_id.