endpoints and queries delete also by name