[#1865] Expose children delete url via api and limit it to test env.