code: def delete_scheduling_block(block_id):
      
      DB.delete('scheduling_block/{}'.format(block_id))
  
      # Add a event to the scheduling block event list to notify
      # of a deleting a scheduling block from the db
      DB.rpush('scheduling_block_events',
               json.dumps(dict(type="deleted", id=block_id)))
docs: Delete Scheduling Block with the specified ID