delete and cancel tickets buttons and api