delete programmatic api usage example