code: def delete_processing_block(processing_block_id):
      
      scheduling_block_id = processing_block_id.split(':')[0]
      config = get_scheduling_block(scheduling_block_id)
      processing_blocks = config.get('processing_blocks')
      processing_block = list(filter(
          lambda x: x.get('id') == processing_block_id, processing_blocks))[0]
      config['processing_blocks'].remove(processing_block)
      DB.set('scheduling_block/{}'.format(config['id']), json.dumps(config))
  
      # Add a event to the scheduling block event list to notify
      # of a new scheduling block being added to the db.
      DB.rpush('processing_block_events',
               json.dumps(dict(type="deleted", id=processing_block_id)))
docs: Delete Processing Block with the specified ID