endpoint for deleting ticket