code: def delete_processing_block(self, processing_block_id):
          
          LOG.debug("Deleting Processing Block %s ...", processing_block_id)
          processing_block = self._db.get_block(processing_block_id)
          if not processing_block:
              raise RuntimeError('Invalid Processing Block ID: {}'
                                 .format(processing_block_id))
  
          for block in processing_block:
              if 'processing_block' in block:
                  self._db.delete_block(block)
  
                  # Remove processing block id from scheduling block id
                  scheduling_block_id = block.split(':')
                  scheduling_block_details = self.get_block_details(
                      [scheduling_block_id[1]])
                  for block_details in scheduling_block_details:
                      block_list = block_details['processing_block_ids']
                      if processing_block_id in block_list:
                          block_list.remove(processing_block_id)
                      self.update_value(scheduling_block_id[1],
                                        'processing_block_ids', block_list)
  
                  # Add a event to the processing block event list to notify
                  # about deleting from the db
                  self._db.push_event(self.processing_event_name, "deleted",
                                      id)
docs: Delete Processing Block(s).
  
          Uses Processing Block IDs