add delete_publish api