Fine-tuning the ping delete API + relevant unit tests. Refs #17109.